[darwin] 在 nix darwin 上跑通了
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
{ config, lib, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
inputs.home-manager-darwin.darwinModules.home-manager
|
||||
];
|
||||
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
networking.hostName = "hypnos";
|
||||
time.timeZone = "Asia/Shanghai";
|
||||
|
||||
programs.fish.enable = true;
|
||||
|
||||
users.users.origami = {
|
||||
home = "/Users/origami";
|
||||
};
|
||||
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
backupFileExtension = "bak";
|
||||
users.origami = import ../../home/hosts/hypnos.nix;
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate = _: true;
|
||||
|
||||
system.stateVersion = 5;
|
||||
}
|
||||
Reference in New Issue
Block a user