mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
Put every variables in top of the file for easy copy to another config
Former-commit-id: 0bd55fdc10
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
{ config, pkgs, ... }: {
|
||||
{ config, pkgs, ... }:
|
||||
let username = config.var.username;
|
||||
in {
|
||||
programs.zsh.enable = true;
|
||||
users = {
|
||||
defaultUserShell = pkgs.zsh;
|
||||
users.${config.var.username} = {
|
||||
users.${username} = {
|
||||
isNormalUser = true;
|
||||
description = "${config.var.username} account";
|
||||
description = "${username} account";
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user