From b244546935672b604ab9e46bbb4284638dbef509 Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Fri, 30 Jun 2023 13:45:31 +0200 Subject: stuff --- flake.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 9f12edc..c64d078 100644 --- a/flake.nix +++ b/flake.nix @@ -1,15 +1,12 @@ { description = "Home Manager configuration"; - # Specify the source of Home Manager and Nixpkgs and vim plugins. inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; mvinkio.url = "github:mvinkio/nixpkgs/nixpkgs-unstable"; nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-22.05"; - home-manager = { - url = "github:nix-community/home-manager"; - inputs.nixpkgs.follows = "nixpkgs"; - }; + sops-nix.url = "github:Mic92/sops-nix"; + home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; }; outputs = { @@ -18,6 +15,7 @@ mvinkio, nixpkgs-stable, home-manager, + sops-nix, ... }: let home = builtins.getEnv "HOME"; @@ -42,7 +40,7 @@ in { nixosConfigurations.lemptop = nixpkgs.lib.nixosSystem { inherit system; - modules = [./configuration.nix ./lemptop.nix]; + modules = [./configuration.nix ./lemptop.nix sops-nix.nixosModules.sops]; }; homeConfigurations.mvinkio = home-manager.lib.homeManagerConfiguration { -- cgit v1.2.3