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;
|
uid = 1000;
|
||||||
group = "cameron";
|
group = "cameron";
|
||||||
extraGroups = [ "wheel" ] ++
|
extraGroups = [ "wheel" ] ++
|
||||||
(lib.optionals config.networking.networkmanager.enable [ "networkmanager" ]) ++
|
(lib.optionals config.networking.networkmanager.enable [ "networkmanager" ]);
|
||||||
(lib.optionals (config.networking.hostName == "nixos") [ "dialout" ]);
|
|
||||||
|
|
||||||
home = "/home/cameron-nix";
|
home = "/home/cameron";
|
||||||
createHome = true;
|
createHome = true;
|
||||||
|
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
let common_dir=../../common;
|
let common_dir=../../common;
|
||||||
in {
|
in {
|
||||||
@ -171,6 +171,11 @@ in {
|
|||||||
# User Configuration
|
# User Configuration
|
||||||
|
|
||||||
user.cameron.enable = true;
|
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