ref(nix): tungsten use nix-darwin

This commit is contained in:
Léana 江 2024-04-03 12:44:33 +02:00 committed by Léana 江
parent 307bc1c604
commit d86974768b
3 changed files with 33 additions and 4 deletions

View file

@ -0,0 +1,27 @@
{ pkgs, hostname, ... }@input:
{
nixpkgs.hostPlatform = "x86_64-darwin";
system.stateVersion = 4;
services.nix-daemon.enable = true;
networking.hostName = hostname;
environment.shells = [ pkgs.fish ];
nix.settings.trusted-users = [ "leana" ];
nix.gc = {
automatic = true;
interval = {
Weekday = 0;
};
options = "--delete-older-than 30d";
};
environment.systemPackages = with pkgs; [
vim
gnumake
gnused
gcc
cachix
];
}