summaryrefslogtreecommitdiff
path: root/hosts/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/desktop')
-rw-r--r--hosts/desktop/configuration.nix19
-rw-r--r--hosts/desktop/disko.nix9
2 files changed, 9 insertions, 19 deletions
diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix
index c0d7cfa..94672aa 100644
--- a/hosts/desktop/configuration.nix
+++ b/hosts/desktop/configuration.nix
@@ -39,8 +39,6 @@
enable = true;
amdgpu.enable = true;
};
- # kernel = "unstable";
- kernel = "stable";
};
fonts.enable = true;
greet.enable = true;
@@ -73,10 +71,7 @@
steam.enable = true;
vr.enable = true;
};
- virtualization = {
- kvm.enable = true;
- waydroid.enable = true;
- };
+ virtualization.kvm.enable = true;
kdeconnect.enable = true;
nix-helper.enable = true;
ollama.enable = true;
@@ -90,23 +85,11 @@
niri.enable = true;
};
};
-
services.hardware.openrgb = {
enable = true;
motherboard = "amd";
package = pkgs.openrgb-with-all-plugins;
};
- systemd.user.services.polkit-gnome-authentication-agent-1 = {
- description = "polkit-gnome-authentication-agent-1";
- wantedBy = [ "graphical-session.target" ]; # No 'Install' block, lowercase 'w'
- serviceConfig = {
- Type = "simple";
- ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
- Restart = "on-failure";
- RestartSec = 1;
- TimeoutStopSec = 10;
- };
- };
boot = {
kernelModules = [
diff --git a/hosts/desktop/disko.nix b/hosts/desktop/disko.nix
index d9be765..5b3b626 100644
--- a/hosts/desktop/disko.nix
+++ b/hosts/desktop/disko.nix
@@ -22,6 +22,10 @@
content = {
type = "luks";
name = "crypted_main";
+ extraFormatArgs = [
+ "--type luks2"
+ "--pbkdf argon2id"
+ ];
settings.allowDiscards = true;
content = {
type = "btrfs";
@@ -123,7 +127,10 @@
content = {
type = "luks";
name = "crypted_storage";
- keyFile = "/tmp/crypt.key";
+ extraFormatArgs = [
+ "--type luks2"
+ "--pbkdf argon2id"
+ ];
content = {
type = "btrfs";
extraArgs = [ "-f" ];