Add a dev shell and direnv

This commit is contained in:
Charlotte 🦝 Delenk 2022-04-16 12:02:32 +01:00
parent 014d7dfb31
commit 739723fe68
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
3 changed files with 13 additions and 4 deletions

1
.envrc Normal file
View file

@ -0,0 +1 @@
use flake

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
result
*.qcow2
*.fd
.direnv

View file

@ -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;
};
};
}