mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Use variables for my name
This commit is contained in:
parent
dc9a8d6ca8
commit
0c9459d351
3 changed files with 68 additions and 56 deletions
|
|
@ -1,4 +1,6 @@
|
|||
{ pkgs, ... }: {
|
||||
{ pkgs, ... }: let
|
||||
user = "gene.liverman";
|
||||
in {
|
||||
system.stateVersion = 4;
|
||||
|
||||
environment = {
|
||||
|
|
@ -110,6 +112,7 @@
|
|||
"flakes"
|
||||
"nix-command"
|
||||
];
|
||||
trusted-users = [ "@admin" "${user}" ];
|
||||
};
|
||||
extraOptions = ''
|
||||
# Generated by https://github.com/DeterminateSystems/nix-installer, version 0.11.0.
|
||||
|
|
@ -121,8 +124,8 @@
|
|||
|
||||
services.nix-daemon.enable = true;
|
||||
|
||||
users.users."gene.liverman" = {
|
||||
home = "/Users/gene.liverman";
|
||||
users.users.${user} = {
|
||||
home = "/Users/${user}";
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue