mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-01-11 20:40:24 +01:00
32 lines
1.0 KiB
Nix
32 lines
1.0 KiB
Nix
{nixos-apple-silicon, ...}:
|
||
#############################################################
|
||
#
|
||
# Shoukei - NixOS running on Macbook Pro 2022 M2 16G
|
||
#
|
||
#############################################################
|
||
let
|
||
hostName = "shoukei"; # Define your hostname.
|
||
in {
|
||
imports = [
|
||
nixos-apple-silicon.nixosModules.default
|
||
|
||
./hardware-configuration.nix
|
||
../idols-ai/preservation.nix
|
||
];
|
||
|
||
networking = {
|
||
inherit hostName;
|
||
|
||
# configures the network interface(include wireless) via `nmcli` & `nmtui`
|
||
networkmanager.enable = true;
|
||
};
|
||
|
||
# This value determines the NixOS release from which the default
|
||
# settings for stateful data, like file locations and database versions
|
||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||
# this value at the release version of the first install of this system.
|
||
# Before changing this value read the documentation for this option
|
||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||
system.stateVersion = "25.11"; # Did you read the comment?
|
||
}
|