mirror of
https://gitlab.com/ahoneybun/nix-configs.git
synced 2025-05-12 19:24:03 -06:00
Merge branch 'main' of gitlab.com:ahoneybun/nix-configs
This commit is contained in:
commit
06f06e9b47
1 changed files with 15 additions and 12 deletions
|
@ -2,12 +2,22 @@
|
|||
|
||||
{
|
||||
imports = [
|
||||
# <nixos-hardware/raspberry-pi/4>
|
||||
./home-assistant.nix
|
||||
# ./gnome.nix
|
||||
# ./programs.nix
|
||||
];
|
||||
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxKernel.packages.linux_rpi4;
|
||||
initrd.availableKernelModules = [ "xhci_pci" "usbhid" "usb_storage" ];
|
||||
|
||||
loader = {
|
||||
|
||||
grub.enable = false;
|
||||
|
||||
generic-extlinux-compatible.enable = true;
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
# boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
@ -31,7 +41,6 @@
|
|||
environment.systemPackages =
|
||||
with pkgs;
|
||||
[
|
||||
fish
|
||||
git
|
||||
neofetch
|
||||
restic
|
||||
|
@ -44,12 +53,9 @@
|
|||
home = "/home/aaronh";
|
||||
extraGroups = [ "wheel" "networkmanager" "adm"];
|
||||
isNormalUser = true;
|
||||
shell = pkgs.fish;
|
||||
hashedPassword = "$6$aAcbLtqiqzySifls$jdKMOQjoWITHD/dWNNZVUH/qNc6aoJ7v4zYofi0U7IJSVTbmOfChS3mzaJbp57AodjdPNKPrnrip8Nlh2Qanx.";
|
||||
};
|
||||
|
||||
programs.fish.enable = true;
|
||||
|
||||
# Enable Pipewire
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
|
@ -71,9 +77,6 @@
|
|||
# Enable CUPS
|
||||
services.printing.enable = true;
|
||||
|
||||
# Enable GPU acceleration
|
||||
hardware.raspberry-pi."4".fkms-3d.enable = true;
|
||||
|
||||
# Allow Unfree
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
|
@ -86,6 +89,6 @@
|
|||
};
|
||||
|
||||
# System
|
||||
system.stateVersion = "22.11";
|
||||
system.stateVersion = "24.05";
|
||||
system.autoUpgrade.enable = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue