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,25 +3,28 @@
dracula-theme dracula-theme
]; ];
services.xserver = { services = {
enable = true; xserver = {
layout = "ca"; enable = true;
displayManager = { layout = "ca";
sddm = { displayManager = {
enable = true; sddm = {
settings = { enable = true;
General = { settings = {
DisplayServer = "wayland"; General = {
InputMethod = ""; DisplayServer = "wayland";
}; InputMethod = "";
Wayland.CompositorCommand = "${pkgs.weston}/bin/weston --shell=fullscreen-shell.so"; };
Theme = { Wayland.CompositorCommand = "${pkgs.weston}/bin/weston --shell=fullscreen-shell.so";
Current = "Dracula"; Theme = {
CursorTheme = "Dracula-cursors"; Current = "Dracula";
CursorSize = 24; CursorTheme = "Dracula-cursors";
CursorSize = 24;
};
}; };
}; };
}; };
}; };
gnome.gnome-keyring.enable = true;
}; };
} }