diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2024-10-17 12:23:26 +0530 |
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2024-10-17 12:23:26 +0530 |
| commit | 2f3d3f02c42839890a692b63d7ea6433060e34d9 (patch) | |
| tree | c774525701f1ce368fe70f16ca66f0cebd75b844 /modules | |
| parent | 9cb4903aa9c90b7b0f88fe1f954e7474247c06d2 (diff) | |
Update
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/amd.nix | 2 | ||||
| -rw-r--r-- | modules/core/bluetooth.nix | 2 | ||||
| -rw-r--r-- | modules/core/impermanence.nix | 1 | ||||
| -rw-r--r-- | modules/laptop.nix | 4 | ||||
| -rw-r--r-- | modules/login.nix | 2 | ||||
| -rw-r--r-- | modules/plasma.nix | 5 | ||||
| -rw-r--r-- | modules/virtualization.nix | 1 |
7 files changed, 12 insertions, 5 deletions
diff --git a/modules/amd.nix b/modules/amd.nix index 351318c..dcbcaa2 100644 --- a/modules/amd.nix +++ b/modules/amd.nix @@ -3,6 +3,6 @@ let kver = config.boot.kernelPackages.kernel.version; in { - boot.kernelParams = [ "amd_pstate=active" "amd_iommu=on" "amdgpu.sg_display=0" ]; + boot.kernelParams = [ "amd_pstate=active" "amd_iommu=on" /* "amdgpu.sg_display=0" */ ]; hardware.cpu.amd.updateMicrocode = config.hardware.enableRedistributableFirmware; } diff --git a/modules/core/bluetooth.nix b/modules/core/bluetooth.nix index 5e64d97..fbd9b48 100644 --- a/modules/core/bluetooth.nix +++ b/modules/core/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/core/impermanence.nix b/modules/core/impermanence.nix index 8540ed2..a26124f 100644 --- a/modules/core/impermanence.nix +++ b/modules/core/impermanence.nix @@ -26,6 +26,7 @@ "/var/log" "/var/lib/bluetooth" "/var/lib/nixos" + "/var/lib/libvirt" "/var/lib/systemd/coredump" "/etc/NetworkManager/system-connections" ]; diff --git a/modules/laptop.nix b/modules/laptop.nix index 3dfdd29..092e61f 100644 --- a/modules/laptop.nix +++ b/modules/laptop.nix @@ -1,7 +1,7 @@ { pkgs, config, ... }: { - services.tlp = { + /* services.tlp = { enable = true; settings = { CPU_SCALING_GOVERNOR_ON_AC = "performance"; @@ -10,7 +10,7 @@ CPU_ENERGY_PERF_POLICY_ON_BAT = "power"; CPU_ENERGY_PERF_POLICY_ON_AC = "performance"; }; - }; + }; */ boot = { kernelModules = [ "acpi_call" ]; diff --git a/modules/login.nix b/modules/login.nix index 038f4a3..ab32e2d 100644 --- a/modules/login.nix +++ b/modules/login.nix @@ -10,7 +10,7 @@ enable = true; settings = { default_session = { - command = "tuigreet --time --remember --cmd \"dwl -s dwlb\""; + command = "tuigreet --time --remember --cmd \"startplasma-wayland\""; user = "greeter"; }; }; diff --git a/modules/plasma.nix b/modules/plasma.nix new file mode 100644 index 0000000..6fbe589 --- /dev/null +++ b/modules/plasma.nix @@ -0,0 +1,5 @@ +{ pkgs, ... }: + +{ + services.desktopManager.plasma6.enable = true; +} diff --git a/modules/virtualization.nix b/modules/virtualization.nix index d8d972f..b353793 100644 --- a/modules/virtualization.nix +++ b/modules/virtualization.nix @@ -26,6 +26,7 @@ pkgs.looking-glass-client pkgs.libvirt pkgs.vagrant + pkgs.virt-viewer (pkgs.writeShellScriptBin "pin-cpu" '' if [[ $1 == "" ]]; then |
