init: macmini nixos configuration.
This commit is contained in:
34
host/macmini.nix
Normal file
34
host/macmini.nix
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
|
||||
../modules/services/ddns-go.nix
|
||||
../modules/services/nignx.nix
|
||||
../modules/services/gitea.nix
|
||||
|
||||
../modules/system/boot.nix
|
||||
../modules/system/networking.nix
|
||||
|
||||
../modules/programs/bash
|
||||
../modules/programs/tools.nix
|
||||
];
|
||||
|
||||
time.timeZone = "Aisa/Shanghai";
|
||||
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
users.users.sky = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ];
|
||||
packages = with pkgs; [
|
||||
tree
|
||||
];
|
||||
};
|
||||
|
||||
system.stateVersion = "25.11";
|
||||
}
|
||||
Reference in New Issue
Block a user