diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/bluetooth.nix | 2 | ||||
| -rw-r--r-- | modules/compromyse.nix | 2 | ||||
| -rw-r--r-- | modules/login.nix | 2 | ||||
| -rw-r--r-- | modules/nvidia.nix | 2 | ||||
| -rw-r--r-- | modules/plasma.nix | 7 | ||||
| -rw-r--r-- | modules/virtualization.nix | 13 | ||||
| -rw-r--r-- | modules/wm.nix (renamed from modules/desktop.nix) | 0 |
7 files changed, 23 insertions, 5 deletions
diff --git a/modules/bluetooth.nix b/modules/bluetooth.nix index 5e64d97..fbd9b48 100644 --- a/modules/bluetooth.nix +++ b/modules/bluetooth.nix @@ -3,5 +3,5 @@ { hardware.bluetooth.enable = true; hardware.bluetooth.powerOnBoot = true; - services.blueman.enable = true; + # services.blueman.enable = true; } diff --git a/modules/compromyse.nix b/modules/compromyse.nix index 505a04d..03adf3e 100644 --- a/modules/compromyse.nix +++ b/modules/compromyse.nix @@ -5,6 +5,6 @@ initialPassword = "changeme"; isNormalUser = true; # openssh.authorizedKeys.keys = []; - extraGroups = [ "wheel" "storage" "input" "plugdev" "libvirtd" ]; + extraGroups = [ "wheel" "storage" "input" "plugdev" "libvirtd" "lxd" "docker" ]; }; } diff --git a/modules/login.nix b/modules/login.nix index 8efefb4..67cd6d9 100644 --- a/modules/login.nix +++ b/modules/login.nix @@ -10,7 +10,7 @@ enable = true; settings = { default_session = { - command = "tuigreet --time --remember --cmd \"dwl > ~/.cache/dwl-log\""; + command = "tuigreet --time --remember --cmd \"startplasma-wayland\""; user = "greeter"; }; }; diff --git a/modules/nvidia.nix b/modules/nvidia.nix index c72317f..1d59539 100644 --- a/modules/nvidia.nix +++ b/modules/nvidia.nix @@ -23,5 +23,5 @@ }; }; - environment.systemPackages = [ pkgs.cudatoolkit ]; + # environment.systemPackages = [ pkgs.cudatoolkit ]; } diff --git a/modules/plasma.nix b/modules/plasma.nix new file mode 100644 index 0000000..35849b2 --- /dev/null +++ b/modules/plasma.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: + +{ + environment.sessionVariables.NIXOS_OZONE_WL = "1"; + services.xserver.enable = true; + services.xserver.desktopManager.plasma5.enable = true; +} diff --git a/modules/virtualization.nix b/modules/virtualization.nix index 12e8d08..2d4937e 100644 --- a/modules/virtualization.nix +++ b/modules/virtualization.nix @@ -1,6 +1,17 @@ { pkgs, config, ... }: { - virtualisation.libvirtd.enable = true; + virtualisation = { + libvirtd = { + enable = true; + qemu = { + swtpm.enable = true; + ovmf.enable = true; + ovmf.packages = [ pkgs.OVMFFull.fd ]; + }; + }; + spiceUSBRedirection.enable = true; + }; + services.spice-vdagentd.enable = true; programs.virt-manager.enable = true; } diff --git a/modules/desktop.nix b/modules/wm.nix index 03cf3ef..03cf3ef 100644 --- a/modules/desktop.nix +++ b/modules/wm.nix |
