X-Git-Url: https://gitweb.ps.run/flake_thinkpad/blobdiff_plain/e087b781049e00abfa7f1c7b8b7b06a1d4228c95..ac72bd3ed5bd39a5c77b43469a5274dad9a7ef95:/configuration.nix diff --git a/configuration.nix b/configuration.nix index c7c77d1..4a277d1 100644 --- a/configuration.nix +++ b/configuration.nix @@ -53,7 +53,7 @@ in nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.download-buffer-size = 500000000; - nix.config.trusted-users = ["root" "ps"]; + nix.settings.trusted-users = ["root" "ps"]; # Configure network proxy if necessary # networking.proxy.default = "http://user:password@proxy:port/"; @@ -162,9 +162,11 @@ in noDesktop = true; enableXfwm = false; }; + plasma6.enable = true; }; windowManager.i3.enable = true; windowManager.awesome.enable = true; + windowManager.herbstluftwm.enable = true; xkb = { layout = "de"; @@ -177,6 +179,18 @@ in }; }; + systemd.user.services.plasma-i3wm = { + wantedBy = [ "plasma-workspace-x11.target" ]; + description = "Launch Plasma with i3wm."; + environment = lib.mkForce {}; + serviceConfig = { + ExecStart = "${pkgs.i3}/bin/i3"; + Restart = "on-failure"; + }; + }; + systemd.user.services.plasma-workspace-x11.after = [ "plasma-i3wm.target" ]; + systemd.user.services.plasma-kwin_x11.enable = false; + services.autorandr = { enable = true; matchEdid = true; @@ -194,7 +208,7 @@ in configDir = "/home/ps/.config/syncthing"; }; - services.auto-cpufreq.enable = true; + # services.auto-cpufreq.enable = true; services.auto-cpufreq.settings = { battery = { governor = "powersave"; @@ -279,7 +293,7 @@ in # Enable Bluetooth hardware.bluetooth.enable = true; hardware.bluetooth.powerOnBoot = false; - services.blueman.enable = true; + # services.blueman.enable = true; # Enable sound with pipewire. services.pulseaudio.enable = false; @@ -390,7 +404,7 @@ in # xfce plugins xfce.xfce4-panel xfce.xfce4-pulseaudio-plugin - # xfce.xfce4-verve-plugin + # xfce.xfce4-verve-plugin xfce.xfce4-notes-plugin # xfce.xfce4-timer-plugin # xfce.xfce4-windowck-plugin