Add a dev shell and direnv
This commit is contained in:
parent
014d7dfb31
commit
739723fe68
3 changed files with 13 additions and 4 deletions
1
.envrc
Normal file
1
.envrc
Normal file
|
@ -0,0 +1 @@
|
|||
use flake
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
result
|
||||
*.qcow2
|
||||
*.fd
|
||||
*.fd
|
||||
.direnv
|
||||
|
|
13
flake.nix
13
flake.nix
|
@ -79,6 +79,12 @@ rec {
|
|||
};
|
||||
})
|
||||
systems);
|
||||
devShell.x86_64-linux = let pkgs = import nixpkgs { system = "x86_64-linux"; }; in
|
||||
pkgs.mkShell {
|
||||
nativeBuildInputs = [
|
||||
pkgs.sops
|
||||
];
|
||||
};
|
||||
hydraJobs = (builtins.listToAttrs (map
|
||||
({ name, system }: {
|
||||
inherit name;
|
||||
|
@ -86,8 +92,9 @@ rec {
|
|||
${system} = nixosConfigurations.${name}.config.system.build.toplevel;
|
||||
};
|
||||
})
|
||||
systems))/* // {
|
||||
installer.x86_64-linux = nixosConfigurations.installer.config.system.build.isoImage;
|
||||
}*/;
|
||||
systems)) // {
|
||||
devShell = devShell;
|
||||
# installer.x86_64-linux = nixosConfigurations.installer.config.system.build.isoImage;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue