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,56 +2,50 @@
inherit (lib) mkIf;
inherit (config) conf;
mkXwlWrapper = import ../niri/xwl-wrapper.nix;
in {
imports = [
./firefox.nix
];
in mkIf conf.apps.enable {
services = {
# Needed for some features in nautilus such as auto-mounting and trash
gvfs.enable = true;
};
config = mkIf conf.apps.enable {
services = {
# Needed for some features in nautilus such as auto-mounting and trash
gvfs.enable = true;
home-manager.users.${conf.username} = {
home.packages = with pkgs; [
signal-desktop
vesktop
fractal
snapshot
nautilus
libreoffice-qt6-fresh
inkscape
blender
gnome-disk-utility
] ++ [(mkXwlWrapper { lib = lib; pkgs = pkgs; app = "${pkgs.prusa-slicer}/bin/prusa-slicer"; name = "Prusa"; })];
home.file = {
".config/vesktop/settings.json" = {
source = ./vesktop.conf.json;
};
".config/vesktop/settings/settings.json" = {
source = ./vencord.conf.json;
};
};
home-manager.users.${conf.username} = {
home.packages = with pkgs; [
signal-desktop
vesktop
fractal
snapshot
nautilus
libreoffice-qt6-fresh
inkscape
blender
# freecad -- broken dependency
] ++ [(mkXwlWrapper { lib = lib; pkgs = pkgs; app = "${pkgs.prusa-slicer}/bin/prusa-slicer"; name = "Prusa"; })];
programs.pandoc = {
enable = true;
};
home.file = {
".config/vesktop/settings.json" = {
source = ./vesktop.conf.json;
};
".config/vesktop/settings/settings.json" = {
source = ./vencord.conf.json;
programs.thunderbird = {
enable = true;
profiles = {
"default" = {
isDefault = true;
};
};
};
programs.pandoc = {
enable = true;
};
programs.thunderbird = {
enable = true;
profiles = {
"default" = {
isDefault = true;
};
};
};
programs.alacritty = {
enable = true;
settings = import ./alacritty.conf.nix { config = config; };
};
programs.alacritty = {
enable = true;
settings = import ./alacritty.conf.nix { config = config; };
};
};
}