diff --git a/flake.lock b/flake.lock index 2d75bdb..b191d11 100755 --- a/flake.lock +++ b/flake.lock @@ -189,6 +189,24 @@ "url": "https://flakehub.com/f/DeterminateSystems/flake-schemas/%3D0.5.0.tar.gz" } }, + "flake-utils": { + "inputs": { + "systems": "systems_2" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "helium": { "inputs": { "flake-parts": "flake-parts_2", @@ -605,6 +623,22 @@ "type": "github" } }, + "nixpkgs_6": { + "locked": { + "lastModified": 1784007870, + "narHash": "sha256-djcLt/JJphyNt4eDY9XTly+/WbCK5lqWq9lSgCmJkkQ=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "18b9261cb3294b6d2a06d03f96872827b8fe2698", + "type": "github" + }, + "original": { + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "18b9261cb3294b6d2a06d03f96872827b8fe2698", + "type": "github" + } + }, "noctalia": { "inputs": { "nixpkgs": "nixpkgs_4" @@ -658,11 +692,31 @@ "nixpkgs": "nixpkgs_3", "noctalia": "noctalia", "nyi": "nyi", + "scx_soryu": "scx_soryu", "theme-assets": "theme-assets", "themes": "themes", "zen-browser": "zen-browser" } }, + "scx_soryu": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs_6" + }, + "locked": { + "lastModified": 1788368401, + "narHash": "sha256-UVlI5OCLEWgzA1h70v4iFLjq36JNEn2pzW4Tn8d+xuM=", + "owner": "elwrcl", + "repo": "scx_soryu", + "rev": "b64e40d88d1b9716937721cc73b878fbb52ff57a", + "type": "github" + }, + "original": { + "owner": "elwrcl", + "repo": "scx_soryu", + "type": "github" + } + }, "systems": { "locked": { "lastModified": 1681028828, @@ -678,6 +732,21 @@ "type": "github" } }, + "systems_2": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "theme-assets": { "inputs": { "nixpkgs": [ diff --git a/flake.nix b/flake.nix index e15a0e4..9dfb5e1 100644 --- a/flake.nix +++ b/flake.nix @@ -81,6 +81,9 @@ nyi = { url = "github:elwrcl/nyi"; }; + scx_soryu = { + url = "github:elwrcl/scx_soryu"; + }; }; outputs = diff --git a/hosts/copland.ulu.nix b/hosts/copland.ulu.nix index 147f619..7bc1b85 100644 --- a/hosts/copland.ulu.nix +++ b/hosts/copland.ulu.nix @@ -111,6 +111,7 @@ in config.flake.nixosModules.service-ollama config.flake.nixosModules.service-performance config.flake.nixosModules.service-printing + config.flake.nixosModules.service-scx-soryu config.flake.nixosModules.service-security config.flake.nixosModules.service-ssh config.flake.nixosModules.service-tumbler diff --git a/modules/nixos/services/service-scx-soryu.ulu.nix b/modules/nixos/services/service-scx-soryu.ulu.nix new file mode 100644 index 0000000..4616773 --- /dev/null +++ b/modules/nixos/services/service-scx-soryu.ulu.nix @@ -0,0 +1,14 @@ +{ inputs, ... }: +{ + flake.nixosModules.service-scx-soryu = + { lib, ... }: + { + imports = [ inputs.scx_soryu.nixosModules.default ]; + + services.scx-soryu = { + enable = true; + notify.user = "elars"; + }; + boot.kernel.sysctl."kernel.sysrq" = lib.mkForce 440; + }; +}