refactor: get rid of cfg folder in wim
This commit is contained in:
parent
bd6eccdc82
commit
b96f6d935c
5 changed files with 22 additions and 34 deletions
|
@ -1,7 +0,0 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./security.nix
|
||||
];
|
||||
}
|
|
@ -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 = {
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
{ ... }: {
|
||||
dconf.settings = {
|
||||
"org/virt-manager/virt-manager/connections" = {
|
||||
autoconnect = ["qemu:///system"];
|
||||
|
|
|
@ -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
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue