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;
games.enable = true;
extraLayout.enable = true;
vm.enable = false;
vm.enable = true;
secureboot.enable = true;
stateVersion = "24.05";
hmStateVersion = "24.11";

View file

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

View file

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