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 = [
|
imports = [
|
||||||
# <nixos-hardware/raspberry-pi/4>
|
|
||||||
./home-assistant.nix
|
|
||||||
# ./gnome.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;
|
# boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
@ -31,7 +41,6 @@
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
with pkgs;
|
with pkgs;
|
||||||
[
|
[
|
||||||
fish
|
|
||||||
git
|
git
|
||||||
neofetch
|
neofetch
|
||||||
restic
|
restic
|
||||||
|
@ -44,12 +53,9 @@
|
||||||
home = "/home/aaronh";
|
home = "/home/aaronh";
|
||||||
extraGroups = [ "wheel" "networkmanager" "adm"];
|
extraGroups = [ "wheel" "networkmanager" "adm"];
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
shell = pkgs.fish;
|
|
||||||
hashedPassword = "$6$aAcbLtqiqzySifls$jdKMOQjoWITHD/dWNNZVUH/qNc6aoJ7v4zYofi0U7IJSVTbmOfChS3mzaJbp57AodjdPNKPrnrip8Nlh2Qanx.";
|
hashedPassword = "$6$aAcbLtqiqzySifls$jdKMOQjoWITHD/dWNNZVUH/qNc6aoJ7v4zYofi0U7IJSVTbmOfChS3mzaJbp57AodjdPNKPrnrip8Nlh2Qanx.";
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.fish.enable = true;
|
|
||||||
|
|
||||||
# Enable Pipewire
|
# Enable Pipewire
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
|
@ -71,9 +77,6 @@
|
||||||
# Enable CUPS
|
# Enable CUPS
|
||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
|
|
||||||
# Enable GPU acceleration
|
|
||||||
hardware.raspberry-pi."4".fkms-3d.enable = true;
|
|
||||||
|
|
||||||
# Allow Unfree
|
# Allow Unfree
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
@ -86,6 +89,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# System
|
# System
|
||||||
system.stateVersion = "22.11";
|
system.stateVersion = "24.05";
|
||||||
system.autoUpgrade.enable = true;
|
system.autoUpgrade.enable = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue