refactor(darwin): rename to default

This commit is contained in:
winston 2023-02-20 09:09:29 +01:00
parent 2492ddf6ca
commit 2f455e6514
Signed by: winston
GPG key ID: 3786770EDBC2B481
2 changed files with 13 additions and 5 deletions

View file

@ -88,7 +88,7 @@
modules = [
home-manager.darwinModules.home-manager
./machines/common.nix
./machines/sashimi/darwin.nix
./machines/sashimi
({config, ...}: {
config = {

View file

@ -4,15 +4,21 @@
pkgs,
...
}: {
# Auto upgrade nix package and the daemon service.
services.nix-daemon.enable = true;
users.users.winston.home = "/Users/winston";
imports = [
./brew.nix
./wm.nix
];
users.users.winston.home = "/Users/winston";
networking = let
name = "sashimi";
in {
computerName = name;
hostName = name;
localHostName = name;
};
# Used for backwards compatibility, please read the changelog before changing.
# $ darwin-rebuild changelog
system.stateVersion = 4;
@ -26,5 +32,7 @@
addresses."test" = "127.0.0.1";
bind = "127.0.0.1";
};
# Auto upgrade nix package and the daemon service.
nix-daemon.enable = true;
};
}