refactor: get rid of cfg folder in wim

This commit is contained in:
matt1432 2023-10-15 22:52:15 -04:00
parent bd6eccdc82
commit b96f6d935c
5 changed files with 22 additions and 34 deletions

View file

@ -1,7 +0,0 @@
{ ... }:
{
imports = [
./security.nix
];
}

View file

@ -11,7 +11,7 @@
../../modules/proton-bridge.nix ../../modules/proton-bridge.nix
../../modules/sddm-wayland.nix ../../modules/sddm-wayland.nix
./cfg/main.nix ./modules/security.nix
./home/main.nix ./home/main.nix
]; ];
@ -22,6 +22,7 @@
enable = true; enable = true;
wifi.backend = "wpa_supplicant"; wifi.backend = "wpa_supplicant";
}; };
firewall.enable = false;
}; };
services = { services = {

View file

@ -1,6 +1,4 @@
{ ... }: { ... }: {
{
dconf.settings = { dconf.settings = {
"org/virt-manager/virt-manager/connections" = { "org/virt-manager/virt-manager/connections" = {
autoconnect = ["qemu:///system"]; autoconnect = ["qemu:///system"];

View file

@ -10,13 +10,6 @@
}; };
services.logind.lidSwitch = "lock"; services.logind.lidSwitch = "lock";
services.gnome.gnome-keyring.enable = true;
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
networking.firewall.enable = false;
security.sudo.extraConfig = '' security.sudo.extraConfig = ''
Defaults timestamp_timeout=600 Defaults timestamp_timeout=600

View file

@ -3,7 +3,8 @@
dracula-theme dracula-theme
]; ];
services.xserver = { services = {
xserver = {
enable = true; enable = true;
layout = "ca"; layout = "ca";
displayManager = { displayManager = {
@ -24,4 +25,6 @@
}; };
}; };
}; };
gnome.gnome-keyring.enable = true;
};
} }