ci + lint

This commit is contained in:
Harivansh Rathi 2026-03-30 00:28:59 -04:00
parent d088a98954
commit 66d9b25682
39 changed files with 395 additions and 225 deletions

View file

@ -4,9 +4,11 @@
pkgs,
username,
...
}: let
packageSets = import ../lib/package-sets.nix {inherit inputs lib pkgs;};
in {
}:
let
packageSets = import ../lib/package-sets.nix { inherit inputs lib pkgs; };
in
{
nix.enable = true;
nix.settings = {
@ -22,30 +24,29 @@ in {
use-xdg-base-directories = true;
};
nix.gc =
{
automatic = true;
options = "--delete-older-than 14d";
}
// (
if pkgs.stdenv.isDarwin then
{
interval = {
Weekday = 7;
Hour = 3;
Minute = 0;
};
}
else
{
dates = "weekly";
}
);
nix.gc = {
automatic = true;
options = "--delete-older-than 14d";
}
// (
if pkgs.stdenv.isDarwin then
{
interval = {
Weekday = 7;
Hour = 3;
Minute = 0;
};
}
else
{
dates = "weekly";
}
);
nixpkgs.config.allowUnfree = true;
programs.zsh.enable = true;
environment.shells = [pkgs.zsh];
environment.shells = [ pkgs.zsh ];
environment.systemPackages = packageSets.core;