mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
add(nix): nix-darwin !
This commit is contained in:
parent
3b8c2068e9
commit
892ab68fbd
6 changed files with 110 additions and 25 deletions
27
nix/hosts/bismuth/default.nix
Normal file
27
nix/hosts/bismuth/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{pkgs, ...}: {
|
||||
nixpkgs.hostPlatform = "aarch64-darwin";
|
||||
services.nix-daemon.enable = true;
|
||||
|
||||
# Used for backwards compatibility, please read the changelog before changing.
|
||||
# $ darwin-rebuild changelog
|
||||
system.stateVersion = 4;
|
||||
|
||||
nix = {
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
allow-import-from-derivation = true
|
||||
'';
|
||||
gc = {
|
||||
automatic = true;
|
||||
options = "--delete-older-than 15d";
|
||||
};
|
||||
settings.auto-optimise-store = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim
|
||||
gnumake
|
||||
gnused
|
||||
gcc
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue