aboutsummaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-rw-r--r--nixos/configuration.nix1
-rw-r--r--nixos/services/laptop.preset.nix1
-rw-r--r--nixos/services/misc.service.nix13
-rw-r--r--nixos/stylix.nix6
4 files changed, 21 insertions, 0 deletions
diff --git a/nixos/configuration.nix b/nixos/configuration.nix
index b0b1d9b..9c673ad 100644
--- a/nixos/configuration.nix
+++ b/nixos/configuration.nix
@@ -16,6 +16,7 @@
./services/laptop.preset.nix
./hardware-configuration.nix
#./ags.nix
+ ./xdg.nix
];
environment.variables = {
GDK_SCALE = config.displayScale;
diff --git a/nixos/services/laptop.preset.nix b/nixos/services/laptop.preset.nix
index f7365ed..4199353 100644
--- a/nixos/services/laptop.preset.nix
+++ b/nixos/services/laptop.preset.nix
@@ -3,5 +3,6 @@
./nginx.service.nix
./pipewire.service.nix
./syncthing.service.nix
+ ./misc.service.nix
];
}
diff --git a/nixos/services/misc.service.nix b/nixos/services/misc.service.nix
new file mode 100644
index 0000000..72fcd2c
--- /dev/null
+++ b/nixos/services/misc.service.nix
@@ -0,0 +1,13 @@
+{...}: {
+ specialisation.powersave.configuration = {
+ services.auto-cpufreq.enable = true;
+ };
+ services = {
+ upower.enable = true;
+ udisks2.enable = true;
+ #picom.enable = true;
+ #blueman.enable = true;
+ #gnome.gnome-keyring.enable = true;
+ #openssh.enable = true;
+ };
+}
diff --git a/nixos/stylix.nix b/nixos/stylix.nix
new file mode 100644
index 0000000..46cd59c
--- /dev/null
+++ b/nixos/stylix.nix
@@ -0,0 +1,6 @@
+{pkgs, ...}: {
+ stylix = {
+ base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-medium.yaml";
+ stylix.image = ../home-manager/stvnliu/assets/gruvbox-wallpaper.png;
+ };
+}