summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-rw-r--r--nixos/common.nix6
-rw-r--r--nixos/kusanagi.nix3
-rw-r--r--nixos/windowmaker.nix10
3 files changed, 19 insertions, 0 deletions
diff --git a/nixos/common.nix b/nixos/common.nix
index 6b490be..76711cc 100644
--- a/nixos/common.nix
+++ b/nixos/common.nix
@@ -177,6 +177,12 @@
# ----
+ nixpkgs.config.permittedInsecurePackages = [
+ "olm-3.2.16"
+ "electron-27.3.11"
+ "python3.11-youtube-dl-2021.12.17"
+ ];
+
environment.systemPackages = with pkgs; [
home-manager
diff --git a/nixos/kusanagi.nix b/nixos/kusanagi.nix
index d6970ea..946e3a3 100644
--- a/nixos/kusanagi.nix
+++ b/nixos/kusanagi.nix
@@ -22,6 +22,7 @@ in
./common.nix
./sway.nix
./xfce.nix
+ ./windowmaker.nix
(import "${home-manager}/nixos")
];
@@ -64,6 +65,8 @@ in
swapDevices = [ ];
+ services.zfs.autoSnapshot.enable = true;
+
# ---- tmpfs root filesystem with special persisted directory ----
fileSystems."/" = {
diff --git a/nixos/windowmaker.nix b/nixos/windowmaker.nix
new file mode 100644
index 0000000..377d896
--- /dev/null
+++ b/nixos/windowmaker.nix
@@ -0,0 +1,10 @@
+{ config, pkgs, ... }: {
+ services.xserver.enable = true;
+ services.xserver.windowManager.windowmaker.enable = true;
+
+ environment.systemPackages = with pkgs; [
+ windowmaker.passthru.dockapps.wmsystemtray
+ windowmaker.passthru.dockapps.wmCalClock
+ windowmaker.passthru.dockapps.wmsm-app
+ ];
+}