move system packages declaration to modules dir

This commit is contained in:
Trolli Schmittlauch 2023-08-30 23:07:30 +02:00
parent b44383e186
commit aa6edaa1fe
2 changed files with 10 additions and 11 deletions

View file

@ -15,6 +15,7 @@ in
# Include the results of the hardware scan. # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
./packages.nix ./packages.nix
./modules/nitrokey.nix
]; ];
services.davfs2.enable = true; services.davfs2.enable = true;
@ -45,16 +46,16 @@ in
environment.systemPackages = [ environment.systemPackages = [
pkgs.sbctl pkgs.sbctl
]; ];
# Lanzaboote currently replaces the systemd-boot module. # Lanzaboote currently replaces the systemd-boot module.
# This setting is usually set to true in configuration.nix # This setting is usually set to true in configuration.nix
# generated at installation time. So we force it to false # generated at installation time. So we force it to false
# for now. # for now.
boot.loader.systemd-boot.enable = lib.mkForce false; boot.loader.systemd-boot.enable = lib.mkForce false;
boot.lanzaboote = { boot.lanzaboote = {
enable = true; enable = true;
pkiBundle = "/etc/secureboot"; pkiBundle = "/etc/secureboot";
}; };
# make the boot look good # make the boot look good
boot.plymouth.enable = true; boot.plymouth.enable = true;
@ -143,8 +144,6 @@ in
package = pkgs.pulseaudioFull; package = pkgs.pulseaudioFull;
}; };
# Nitrokey support
services.udev.packages = [ pkgs.nitrokey-udev-rules ];
# Enable the X11 windowing system. # Enable the X11 windowing system.
services.xserver.enable = true; services.xserver.enable = true;