mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
ref(nix): tungsten use nix-darwin
This commit is contained in:
parent
307bc1c604
commit
d86974768b
3 changed files with 33 additions and 4 deletions
27
nix/hosts/tungsten/default.nix
Normal file
27
nix/hosts/tungsten/default.nix
Normal 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
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue