Compare commits

..

No commits in common. "3751997d334e8181bb9736cd10cd0dac95713c6a" and "38200052f951e70f2f82f47b34a1f1c818ed4bbc" have entirely different histories.

2 changed files with 2 additions and 15 deletions

View file

@ -51,6 +51,7 @@ in {
environment = { environment = {
systemPackages = with pkgs; [ systemPackages = with pkgs; [
agenix.packages.${pkgs.system}.default
neovim neovim
git git
curl curl
@ -90,7 +91,6 @@ in {
nix = { nix = {
package = pkgs.lix; package = pkgs.lix;
channel.enable = false;
gc = { gc = {
automatic = true; automatic = true;
@ -104,18 +104,10 @@ 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"

View file

@ -5,7 +5,6 @@
self, self,
flake-parts, flake-parts,
nixinate, nixinate,
agenix,
... ...
} @ inputs: } @ inputs:
flake-parts.lib.mkFlake {inherit inputs;} { flake-parts.lib.mkFlake {inherit inputs;} {
@ -24,11 +23,7 @@
devShells.default = with pkgs; devShells.default = with pkgs;
mkShellNoCC { mkShellNoCC {
packages = [ packages = [just statix];
just
statix
agenix.packages.${system}.default
];
}; };
formatter = pkgs.alejandra; formatter = pkgs.alejandra;