updates home manager config
This commit is contained in:
parent
2c8c977d28
commit
d44b7ebdaa
4 changed files with 26 additions and 39 deletions
|
|
@ -1,38 +0,0 @@
|
|||
{
|
||||
inputs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
hostname = "dnsc-air";
|
||||
username = config.flake.globalConfig.username;
|
||||
in
|
||||
{
|
||||
flake.darwinConfigurations.dnsc-air = inputs.nix-darwin.lib.darwinSystem {
|
||||
system = "aarch64-darwin";
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
inputs.home-manager.darwinModules.home-manager
|
||||
config.flake.modules.darwin.base
|
||||
{
|
||||
networking.hostName = "${hostname}";
|
||||
networking.computerName = "${hostname}";
|
||||
users.users.${username}.home = "/Users/${username}";
|
||||
nix.enable = false;
|
||||
nix.settings.experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
backupFileExtension = "backup";
|
||||
users.${username} = {
|
||||
imports = [ config.flake.modules.homeManager.neovim ];
|
||||
home.stateVersion = "24.11";
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue