diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2024-09-20 16:34:35 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2024-09-20 16:34:35 +0200 |
| commit | 9bc6da0b8b61809e1e6f478e0b6424dea0b46641 (patch) | |
| tree | 7dabd4dc7a320a2affe6ef1604520710468ce550 | |
| parent | 326a73e75b8a236350c406fcf46f203a06749a5c (diff) | |
add bash config and wofi-pass
| -rw-r--r-- | common/default.nix | 2 | ||||
| -rw-r--r-- | common/home/default.nix | 1 | ||||
| -rw-r--r-- | common/home/hyprland/default.nix | 2 | ||||
| -rw-r--r-- | common/home/programs/bash/default.nix | 8 | ||||
| -rw-r--r-- | flake.lock | 35 | ||||
| -rw-r--r-- | flake.nix | 4 |
6 files changed, 45 insertions, 7 deletions
diff --git a/common/default.nix b/common/default.nix index b5ad77c..8441030 100644 --- a/common/default.nix +++ b/common/default.nix @@ -4,12 +4,14 @@ home-manager, nixvim, webtray, + wofi-pass, ... }: { imports = [ home-manager.nixosModules.default webtray.outputs.nixosModules.default + wofi-pass.outputs.nixosModules.default ]; environment.systemPackages = with pkgs; [ diff --git a/common/home/default.nix b/common/home/default.nix index c98267b..33bde9b 100644 --- a/common/home/default.nix +++ b/common/home/default.nix @@ -13,6 +13,7 @@ let "hyprlock" "waybar" "zsh" + "bash" "btop" "wofi" "password-store" diff --git a/common/home/hyprland/default.nix b/common/home/hyprland/default.nix index 9d9749f..d92c27b 100644 --- a/common/home/hyprland/default.nix +++ b/common/home/hyprland/default.nix @@ -8,6 +8,8 @@ "$mod+Shift, Return, exec, alacritty" "$mod+Shift, Q, exit" "$mod+Shift, B, exec, firefox" + "$mod+Shift, P, exec, wofi-pass" + "$mod+Shift, O, exec, wofi-pass otp" "$mod, Escape, exec, hyprlock" "$mod, Space, exec, wofi --show run" "$mod, C, killactive," diff --git a/common/home/programs/bash/default.nix b/common/home/programs/bash/default.nix new file mode 100644 index 0000000..31677af --- /dev/null +++ b/common/home/programs/bash/default.nix @@ -0,0 +1,8 @@ +{ ... }: +{ + enable = true; + + bashrcExtra = '' + . "/home/n8/.nix-profile/etc/profile.d/hm-session-vars.sh" + ''; +} @@ -133,11 +133,11 @@ ] }, "locked": { - "lastModified": 1726592409, - "narHash": "sha256-2Y6CDvD/BD43WLS77PHu6dUHbdUfFhuzkY8oJAecD/U=", + "lastModified": 1726818100, + "narHash": "sha256-z2V74f5vXqkN5Q+goFlhbFXY/dNaBAyeLpr2bxu4Eic=", "owner": "nix-community", "repo": "home-manager", - "rev": "2ab00f89dd3ecf8012f5090e6d7ca1a7ea30f594", + "rev": "1bbc1a5a1f4de7401c92db85b2119ed21bb4139d", "type": "github" }, "original": { @@ -236,11 +236,11 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1726752344, - "narHash": "sha256-lMFX1T1NiZ23wVFQKdAcGzt3phrmp808s970TsSwWeY=", + "lastModified": 1726801057, + "narHash": "sha256-r3ZoJ30X38nqw+SBYwYgArTUyYL3mB0Wpb2c2fSs1As=", "owner": "nix-community", "repo": "nixvim", - "rev": "2df1bdd14d564235a55552dfc6a9dd5018cbad9b", + "rev": "c2080ede4f0e6b838f1437c128e684004776afe3", "type": "github" }, "original": { @@ -277,7 +277,8 @@ "nixpkgs": "nixpkgs", "nixpkgs-unstable": "nixpkgs-unstable", "nixvim": "nixvim", - "webtray": "webtray" + "webtray": "webtray", + "wofi-pass": "wofi-pass" } }, "systems": { @@ -335,6 +336,26 @@ "type": "git", "url": "https://git.nathanreiner.xyz/webtray" } + }, + "wofi-pass": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1726842078, + "narHash": "sha256-KBl1YlZNpM2UXh+52Mu05l5WnFKrGB9rxwKUTbch6cA=", + "ref": "refs/heads/master", + "rev": "e0def1ed8657c2289493b77fcc06f54f0dfe1fae", + "revCount": 2, + "type": "git", + "url": "https://git.nathanreiner.xyz/wofi-pass" + }, + "original": { + "type": "git", + "url": "https://git.nathanreiner.xyz/wofi-pass" + } } }, "root": "root", @@ -16,6 +16,10 @@ url = "git+https://git.nathanreiner.xyz/webtray"; inputs.nixpkgs.follows = "nixpkgs"; }; + wofi-pass = { + url = "git+https://git.nathanreiner.xyz/wofi-pass"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = |