diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-05-15 14:18:48 -0700 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-05-15 14:18:48 -0700 |
commit | 65cf415c29a027b6de155519bd0ee65d61774cbb (patch) | |
tree | 43f12af0cf37dacf91f2a847bf477dacb3826b58 | |
parent | 7392997c56f9188a8215a363011fc417fc1d9366 (diff) | |
download | nix-65cf415c29a027b6de155519bd0ee65d61774cbb.tar nix-65cf415c29a027b6de155519bd0ee65d61774cbb.tar.gz nix-65cf415c29a027b6de155519bd0ee65d61774cbb.tar.bz2 nix-65cf415c29a027b6de155519bd0ee65d61774cbb.tar.lz nix-65cf415c29a027b6de155519bd0ee65d61774cbb.tar.xz nix-65cf415c29a027b6de155519bd0ee65d61774cbb.tar.zst nix-65cf415c29a027b6de155519bd0ee65d61774cbb.zip |
Add sops-nix
Diffstat (limited to '')
-rw-r--r-- | flake.nix | 9 | ||||
-rw-r--r-- | hosts/common/core/default.nix | 4 |
2 files changed, 12 insertions, 1 deletions
@@ -21,9 +21,14 @@ nixpkgs-stable.url = "github:nixos/nixpkgs/release-23.11"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; + + sops-nix = { + url = "github:Mic92/sops-nix"; + inputs.nixpkgs.follows = "nixpkgs-unstable"; + }; }; - outputs = inputs@{ home-manager-stable, home-manager-unstable, nixos-hardware, nixpkgs-stable, nixpkgs-unstable, ... }: rec { + outputs = inputs@{ home-manager-stable, home-manager-unstable, nixos-hardware, nixpkgs-stable, nixpkgs-unstable, sops-nix, ... }: rec { nixosConfigurations = { darkstar = nixpkgs-unstable.lib.nixosSystem { pkgs = pkgs-unstable; @@ -35,6 +40,7 @@ home-manager.users.root = import ./home/root/ginaz.nix; home-manager.users.nipsy = import ./home/nipsy/ginaz.nix; } + sops-nix.nixosModules.sops ]; }; @@ -49,6 +55,7 @@ home-manager.users.nipsy = import ./home/nipsy/ginaz.nix; } nixos-hardware.nixosModules.lenovo-yoga-7-14ARH7.amdgpu + sops-nix.nixosModules.sops ]; }; diff --git a/hosts/common/core/default.nix b/hosts/common/core/default.nix index 8d1ccfc..2f8dc65 100644 --- a/hosts/common/core/default.nix +++ b/hosts/common/core/default.nix @@ -13,6 +13,7 @@ # inherit (pkgs) environment.systemPackages = with pkgs; [ acl + age bash bc bind @@ -65,7 +66,10 @@ rsync sg3_utils socat + sops sqlite + ssh-to-age + ssh-to-pgp stoken strace sysstat |