add basic devshell
This commit is contained in:
parent
3bbb26e4c3
commit
91ca724dea
3 changed files with 18 additions and 2 deletions
2
.envrc
Normal file
2
.envrc
Normal file
|
@ -0,0 +1,2 @@
|
|||
use flake
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,4 +1,5 @@
|
|||
result
|
||||
.direnv/
|
||||
.vim/undo/
|
||||
.vim/.netrwhist
|
||||
.DS_Store
|
||||
|
|
17
flake.nix
17
flake.nix
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
description = "NixOS configuration with flakes";
|
||||
outputs = { self, flake-utils, home-manager, nixpkgs-nixos-unstable
|
||||
, nixpkgs-stable, darwin, nixos-hardware, nur, agenix, neuron, sops
|
||||
, nixpkgs-stable, darwin, nixos-hardware, nur, agenix, neuron, sops,
|
||||
}@inputs:
|
||||
|
||||
let
|
||||
|
@ -49,7 +49,20 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
in {
|
||||
in rec {
|
||||
devShell."x86_64-linux" =
|
||||
nixpkgs-stable.legacyPackages."x86_64-linux".mkShell {
|
||||
buildInputs =
|
||||
with nixpkgs-nixos-unstable.legacyPackages."x86_64-linux"; [
|
||||
cacert
|
||||
git
|
||||
nixpkgs-fmt
|
||||
openssh
|
||||
openssl
|
||||
pkg-config
|
||||
statix
|
||||
];
|
||||
};
|
||||
darwinConfigurations = {
|
||||
"macmini" = darwin.lib.darwinSystem {
|
||||
system = "x86_64-darwin";
|
||||
|
|
Loading…
Reference in a new issue