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/sddm-wayland.nix
./cfg/main.nix
./modules/security.nix
./home/main.nix
];
@ -22,6 +22,7 @@
enable = true;
wifi.backend = "wpa_supplicant";
};
firewall.enable = false;
};
services = {

View file

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

View file

@ -10,13 +10,6 @@
};
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 = ''
Defaults timestamp_timeout=600

View file

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