Move some host specific configuration out of user's common/ config
This commit is contained in:
parent
425e169fb7
commit
ab49cfd6d6
@ -18,10 +18,9 @@ in {
|
||||
uid = 1000;
|
||||
group = "cameron";
|
||||
extraGroups = [ "wheel" ] ++
|
||||
(lib.optionals config.networking.networkmanager.enable [ "networkmanager" ]) ++
|
||||
(lib.optionals (config.networking.hostName == "nixos") [ "dialout" ]);
|
||||
(lib.optionals config.networking.networkmanager.enable [ "networkmanager" ]);
|
||||
|
||||
home = "/home/cameron-nix";
|
||||
home = "/home/cameron";
|
||||
createHome = true;
|
||||
|
||||
shell = pkgs.zsh;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let common_dir=../../common;
|
||||
in {
|
||||
@ -171,6 +171,11 @@ in {
|
||||
# User Configuration
|
||||
|
||||
user.cameron.enable = true;
|
||||
# Default user settings overrides
|
||||
users.users.cameron = {
|
||||
home = lib.mkForce "/home/cameron-nix";
|
||||
extraGroups = [ "dialout" ];
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user