mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-02-06 04:38:53 -05:00
Make package options and split users into different file
This commit is contained in:
parent
dd7683a756
commit
b1a0574ed1
5 changed files with 55 additions and 13 deletions
15
modules/users/crow.nix
Normal file
15
modules/users/crow.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{ lib, config, pkgs, ...}: {
|
||||
users.users.crow = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
};
|
||||
|
||||
home-manager.users.crow = {
|
||||
home.username = "crow";
|
||||
home.homeDirectory = "/home/crow";
|
||||
|
||||
home.stateVersion = "24.05";
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
};
|
||||
}
|
||||
5
modules/users/default.nix
Normal file
5
modules/users/default.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
./crow.nix
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue