diff options
-rw-r--r-- | flake.lock | 16 | ||||
-rw-r--r-- | flake.nix | 3 | ||||
-rw-r--r-- | home.nix | 3 |
3 files changed, 20 insertions, 2 deletions
@@ -110,10 +110,26 @@ "home-manager": "home-manager", "nixpkgs": "nixpkgs", "nur": "nur", + "scripts": "scripts", "sops-nix": "sops-nix", "wallpapers": "wallpapers" } }, + "scripts": { + "locked": { + "lastModified": 1709958643, + "narHash": "sha256-+NHuHYUTUkjIOaCZlH7gICDwRu2dMgJ6smmU9DvgLT0=", + "owner": "ret2pop", + "repo": "scripts", + "rev": "8e230dcb118d5a25629c1980a4764ae071bfb2bf", + "type": "github" + }, + "original": { + "owner": "ret2pop", + "repo": "scripts", + "type": "github" + } + }, "sops-nix": { "inputs": { "nixpkgs": "nixpkgs_2", @@ -14,9 +14,10 @@ }; wallpapers.url = "github:ret2pop/wallpapers"; sops-nix.url = "github:Mic92/sops-nix"; + scripts.url = "github:ret2pop/scripts"; }; - outputs = { self, nixpkgs, home-manager, nur, disko, wallpapers, sops-nix, ... }@attrs: { + outputs = { self, nixpkgs, home-manager, nur, disko, wallpapers, sops-nix, scripts, ... }@attrs: { nixosConfigurations = { continuity = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; @@ -1,4 +1,4 @@ -{ config, lib, nixpkgs, pkgs, wallpapers, ... }: +{ config, lib, nixpkgs, pkgs, wallpapers, scripts, ... }: { home.username = "preston"; home.homeDirectory = "/home/preston"; @@ -944,6 +944,7 @@ "$mod, E, exec, emacs" "$mod, V, exec, Discord" "$mod, D, exec, wofi --show run" + "$mod, P, exec, bash ${scripts}/powermenu.sh" "$mod, Q, killactive" "$mod SHIFT, H, movewindow, l" "$mod SHIFT, L, movewindow, r" |