refactor(darwin): rename to default
This commit is contained in:
parent
2492ddf6ca
commit
2f455e6514
2 changed files with 13 additions and 5 deletions
|
@ -88,7 +88,7 @@
|
|||
modules = [
|
||||
home-manager.darwinModules.home-manager
|
||||
./machines/common.nix
|
||||
./machines/sashimi/darwin.nix
|
||||
./machines/sashimi
|
||||
|
||||
({config, ...}: {
|
||||
config = {
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue