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 = {
|
environment = {
|
||||||
systemPackages = with pkgs; [
|
systemPackages = with pkgs; [
|
||||||
agenix.packages.${pkgs.system}.default
|
|
||||||
neovim
|
neovim
|
||||||
git
|
git
|
||||||
curl
|
curl
|
||||||
|
@ -91,6 +90,7 @@ in {
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
package = pkgs.lix;
|
package = pkgs.lix;
|
||||||
|
channel.enable = false;
|
||||||
|
|
||||||
gc = {
|
gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
|
@ -104,10 +104,18 @@ in {
|
||||||
u.flake = camasca;
|
u.flake = camasca;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# give nix daemon lower priority
|
||||||
|
daemonCPUSchedPolicy = "batch";
|
||||||
|
daemonIOSchedClass = "idle";
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
experimental-features = ["nix-command" "flakes"];
|
experimental-features = ["nix-command" "flakes"];
|
||||||
trusted-users = ["root" "@wheel"];
|
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 = [
|
substituters = [
|
||||||
"https://uku3lig.cachix.org"
|
"https://uku3lig.cachix.org"
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
self,
|
self,
|
||||||
flake-parts,
|
flake-parts,
|
||||||
nixinate,
|
nixinate,
|
||||||
|
agenix,
|
||||||
...
|
...
|
||||||
} @ inputs:
|
} @ inputs:
|
||||||
flake-parts.lib.mkFlake {inherit inputs;} {
|
flake-parts.lib.mkFlake {inherit inputs;} {
|
||||||
|
@ -23,7 +24,11 @@
|
||||||
|
|
||||||
devShells.default = with pkgs;
|
devShells.default = with pkgs;
|
||||||
mkShellNoCC {
|
mkShellNoCC {
|
||||||
packages = [just statix];
|
packages = [
|
||||||
|
just
|
||||||
|
statix
|
||||||
|
agenix.packages.${system}.default
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
formatter = pkgs.alejandra;
|
formatter = pkgs.alejandra;
|
||||||
|
|
Loading…
Reference in a new issue