Compare commits
2 commits
38200052f9
...
3751997d33
Author | SHA1 | Date | |
---|---|---|---|
3751997d33 | |||
8df171890d |
2 changed files with 15 additions and 2 deletions
|
@ -51,7 +51,6 @@ in {
|
|||
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
agenix.packages.${pkgs.system}.default
|
||||
neovim
|
||||
git
|
||||
curl
|
||||
|
@ -91,6 +90,7 @@ in {
|
|||
|
||||
nix = {
|
||||
package = pkgs.lix;
|
||||
channel.enable = false;
|
||||
|
||||
gc = {
|
||||
automatic = true;
|
||||
|
@ -104,10 +104,18 @@ in {
|
|||
u.flake = camasca;
|
||||
};
|
||||
|
||||
# give nix daemon lower priority
|
||||
daemonCPUSchedPolicy = "batch";
|
||||
daemonIOSchedClass = "idle";
|
||||
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
experimental-features = ["nix-command" "flakes"];
|
||||
trusted-users = ["root" "@wheel"];
|
||||
connect-timeout = 5; # fail fast if substituters are not available
|
||||
builders-use-substitutes = true;
|
||||
log-lines = 25;
|
||||
min-free = 512 * 1024 * 1024; # if free space drops under min, gc
|
||||
|
||||
substituters = [
|
||||
"https://uku3lig.cachix.org"
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
self,
|
||||
flake-parts,
|
||||
nixinate,
|
||||
agenix,
|
||||
...
|
||||
} @ inputs:
|
||||
flake-parts.lib.mkFlake {inherit inputs;} {
|
||||
|
@ -23,7 +24,11 @@
|
|||
|
||||
devShells.default = with pkgs;
|
||||
mkShellNoCC {
|
||||
packages = [just statix];
|
||||
packages = [
|
||||
just
|
||||
statix
|
||||
agenix.packages.${system}.default
|
||||
];
|
||||
};
|
||||
|
||||
formatter = pkgs.alejandra;
|
||||
|
|
Loading…
Reference in a new issue