mirror of
https://github.com/srid/nixos-config.git
synced 2026-02-22 12:55:20 +08:00
chore(template): parameterize user accounts and update README onboarding instructions
This commit is contained in:
parent
1bf5049ebb
commit
62890af2cc
3 changed files with 14 additions and 12 deletions
|
|
@ -2,7 +2,7 @@
|
|||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
{ config, flake, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
|
|
@ -64,9 +64,9 @@
|
|||
# services.xserver.libinput.enable = true;
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.srid = {
|
||||
users.users.${flake.config.me.username} = {
|
||||
isNormalUser = true;
|
||||
description = "Sridhar Ratnakumar";
|
||||
description = flake.config.me.fullname;
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue