move tooling to dev environment
This commit is contained in:
parent
a0a94b86ff
commit
4a9e6b5f3c
|
@ -12,11 +12,6 @@
|
||||||
lsof
|
lsof
|
||||||
tcpdump
|
tcpdump
|
||||||
netcat # <3
|
netcat # <3
|
||||||
|
|
||||||
# used for nix config
|
|
||||||
colmena
|
|
||||||
agenix
|
|
||||||
rc2nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.wordlist.enable = true;
|
environment.wordlist.enable = true;
|
||||||
|
|
18
flake.nix
18
flake.nix
|
@ -42,10 +42,6 @@
|
||||||
nix.nixPath = [ "nixpkgs=flake:nixpkgs" ];
|
nix.nixPath = [ "nixpkgs=flake:nixpkgs" ];
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
nixpkgs.config.packageOverrides = pkgs: {
|
|
||||||
agenix = agenix.packages.${config.nixpkgs.hostPlatform.system}.default;
|
|
||||||
rc2nix = plasma-manager.packages.${config.nixpkgs.hostPlatform.system}.rc2nix;
|
|
||||||
};
|
|
||||||
nixpkgs.overlays = [ nur.overlay ];
|
nixpkgs.overlays = [ nur.overlay ];
|
||||||
home-manager.sharedModules = [ plasma-manager.homeManagerModules.plasma-manager ];
|
home-manager.sharedModules = [ plasma-manager.homeManagerModules.plasma-manager ];
|
||||||
|
|
||||||
|
@ -92,5 +88,19 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# TODO: have this work on other systems too
|
||||||
|
devShells."x86_64-linux".default =
|
||||||
|
let
|
||||||
|
system = "x86_64-linux";
|
||||||
|
pkgs = import nixpkgs { inherit system; };
|
||||||
|
in
|
||||||
|
pkgs.mkShell {
|
||||||
|
packages = [
|
||||||
|
pkgs.colmena
|
||||||
|
agenix.packages.${system}.default
|
||||||
|
plasma-manager.packages.${system}.rc2nix
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
9
shell.nix
Normal file
9
shell.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
let
|
||||||
|
shell = (import
|
||||||
|
(fetchTarball {
|
||||||
|
url = "https://github.com/edolstra/flake-compat/archive/refs/tags/v1.0.1.tar.gz";
|
||||||
|
sha256 = "0jm6nzb83wa6ai17ly9fzpqc40wg1viib8klq8lby54agpl213w5";
|
||||||
|
})
|
||||||
|
{ src = ./.; }).shellNix;
|
||||||
|
in
|
||||||
|
shell.devShells.${builtins.currentSystem}
|
Loading…
Reference in a new issue