cleanup and secure boot

This commit is contained in:
twoneis 2024-10-14 23:54:16 +02:00
parent 89788833f0
commit d739e2cc35
3 changed files with 40 additions and 44 deletions

View file

@ -4,7 +4,8 @@
niri.enable = true; niri.enable = true;
games.enable = true; games.enable = true;
extraLayout.enable = true; extraLayout.enable = true;
vm.enable = false; vm.enable = true;
secureboot.enable = true;
stateVersion = "24.05"; stateVersion = "24.05";
hmStateVersion = "24.11"; hmStateVersion = "24.11";

View file

@ -3,6 +3,7 @@
inherit (config) conf; inherit (config) conf;
in { in {
imports = [ imports = [
./firefox.nix
./media.nix ./media.nix
./notes.nix ./notes.nix
./programs.nix ./programs.nix

View file

@ -2,12 +2,7 @@
inherit (lib) mkIf; inherit (lib) mkIf;
inherit (config) conf; inherit (config) conf;
mkXwlWrapper = import ../niri/xwl-wrapper.nix; mkXwlWrapper = import ../niri/xwl-wrapper.nix;
in { in mkIf conf.apps.enable {
imports = [
./firefox.nix
];
config = mkIf conf.apps.enable {
services = { services = {
# Needed for some features in nautilus such as auto-mounting and trash # Needed for some features in nautilus such as auto-mounting and trash
gvfs.enable = true; gvfs.enable = true;
@ -23,7 +18,7 @@ in {
libreoffice-qt6-fresh libreoffice-qt6-fresh
inkscape inkscape
blender blender
# freecad -- broken dependency gnome-disk-utility
] ++ [(mkXwlWrapper { lib = lib; pkgs = pkgs; app = "${pkgs.prusa-slicer}/bin/prusa-slicer"; name = "Prusa"; })]; ] ++ [(mkXwlWrapper { lib = lib; pkgs = pkgs; app = "${pkgs.prusa-slicer}/bin/prusa-slicer"; name = "Prusa"; })];
home.file = { home.file = {
@ -53,5 +48,4 @@ in {
settings = import ./alacritty.conf.nix { config = config; }; settings = import ./alacritty.conf.nix { config = config; };
}; };
}; };
};
} }