From dbe64599fad12d1b26c3df34bb9784a567144f34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?m=C3=BCde?= Date: Fri, 27 Nov 2026 22:05:49 +0100 Subject: [PATCH] add win9x savers --- flake.lock | 43 +++++++++++++++++++++++++ flake.nix | 4 +++ homeConfigurations/muede/default.nix | 5 ++- nixosConfigurations.nix | 2 ++ nixosModules/muede-desktop-settings.nix | 2 ++ 5 files changed, 55 insertions(+), 1 deletion(-) diff --git a/flake.lock b/flake.lock index 8378def..57f7cf4 100644 --- a/flake.lock +++ b/flake.lock @@ -800,6 +800,7 @@ "treefmt-nix": "treefmt-nix_2", "trollshell": "trollshell", "truth-machine": "truth-machine", + "win9x-savers": "win9x-savers", "zerforschen-plus": "zerforschen-plus" } }, @@ -1065,6 +1066,27 @@ "type": "github" } }, + "treefmt-nix_3": { + "inputs": { + "nixpkgs": [ + "win9x-savers", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1791885023, + "narHash": "sha256-C3alQ2MEt0zVrUSho5NUDo3jmhbff72++bfwoqT9Omo=", + "owner": "numtide", + "repo": "treefmt-nix", + "rev": "0d6d739a833ba9a9c93034862e4a7b061a062a1c", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "treefmt-nix", + "type": "github" + } + }, "trollshell": { "inputs": { "crane": "crane_6", @@ -1112,6 +1134,27 @@ "url": "https://forge.darkest.space/mara/truth.bat.git" } }, + "win9x-savers": { + "inputs": { + "nixpkgs": [ + "nixpkgs-unstable" + ], + "treefmt-nix": "treefmt-nix_3" + }, + "locked": { + "lastModified": 1795812749, + "narHash": "sha256-VdxxK1+CHHBGymPGsy8vpjGZYQJ+iHn2nZt9usAicS0=", + "ref": "refs/heads/main", + "rev": "c7554980544ec01d474344b05ec3c9f4e05434f5", + "revCount": 73, + "type": "git", + "url": "https://forge.darkest.space/mara/screensaver.git" + }, + "original": { + "type": "git", + "url": "https://forge.darkest.space/mara/screensaver.git" + } + }, "xwayland-satellite-stable": { "flake": false, "locked": { diff --git a/flake.nix b/flake.nix index 0774a1f..29d9882 100644 --- a/flake.nix +++ b/flake.nix @@ -101,6 +101,10 @@ url = "git+https://forge.darkest.space/mara/truth.bat.git"; inputs.nixpkgs.follows = "nixpkgs"; }; + win9x-savers = { + url = "git+https://forge.darkest.space/mara/screensaver.git"; + inputs.nixpkgs.follows = "nixpkgs-unstable"; + }; zerforschen-plus = { url = "git+https://forge.darkest.space/mara/zerforschen.plus.git"; inputs.nixpkgs.follows = "nixpkgs"; diff --git a/homeConfigurations/muede/default.nix b/homeConfigurations/muede/default.nix index 06aee1d..ebbd6a9 100644 --- a/homeConfigurations/muede/default.nix +++ b/homeConfigurations/muede/default.nix @@ -1,6 +1,7 @@ -{ pkgs, ... }: +{ pkgs, win9x-savers, ... }: { imports = [ + win9x-savers.homeManagerModules.default # keep-sorted start ./cpucap.nix ./editorconfig.nix @@ -34,6 +35,8 @@ # keep-sorted end }; + services.win9x-savers-lock.enable = true; + programs = { home-manager.enable = true; fzf.enable = true; diff --git a/nixosConfigurations.nix b/nixosConfigurations.nix index c1107f9..9ba13c0 100644 --- a/nixosConfigurations.nix +++ b/nixosConfigurations.nix @@ -16,6 +16,7 @@ let servicepoint-tanks stylix trollshell + win9x-savers zerforschen-plus # keep-sorted end ; @@ -112,6 +113,7 @@ forDevice ( servicepoint-cli.nixosModules.default servicepoint-simulator.nixosModules.default servicepoint-tanks.nixosModules.default + win9x-savers.nixosModules.default # Desktop config { diff --git a/nixosModules/muede-desktop-settings.nix b/nixosModules/muede-desktop-settings.nix index bda9a10..4095307 100644 --- a/nixosModules/muede-desktop-settings.nix +++ b/nixosModules/muede-desktop-settings.nix @@ -18,6 +18,8 @@ programs.firefox.enable = true; + programs.win9x-savers-lock.enable = true; + environment.systemPackages = with pkgs; [ lm_sensors libreoffice-qt6