mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-15 06:04:42 +00:00
init
This commit is contained in:
commit
2bf50c8969
12 changed files with 784 additions and 0 deletions
25
hosts/hari-macbook-pro/default.nix
Normal file
25
hosts/hari-macbook-pro/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
pkgs,
|
||||
self,
|
||||
username,
|
||||
hostname,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
../../modules/base.nix
|
||||
../../modules/macos.nix
|
||||
../../modules/homebrew.nix
|
||||
];
|
||||
|
||||
networking.hostName = hostname;
|
||||
|
||||
users.users.${username} = {
|
||||
name = username;
|
||||
home = "/Users/${username}";
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
system.primaryUser = username;
|
||||
system.configurationRevision = self.rev or self.dirtyRev or null;
|
||||
system.stateVersion = 6;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue