Added user
This commit is contained in:
1 parent
7e09db3801
commit
64ca5b8641
5 files changed
+16
-31
No files matched your search
@@ -3,5 +3,6 @@
|
||||
imports = [
|
||||
./hardware
|
||||
./core.nix
|
||||
./user.nix
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
users.users.root = {
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
users.users.${config.skyg.user.name} = {
|
||||
shell = pkgs.zsh;
|
||||
isNormalUser = true;
|
||||
description = config.skyg.user.name;
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
{ lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
options = {
|
||||
skyg.desktop = {
|
||||
fonts = mkOption {
|
||||
description = "Preferred Font";
|
||||
type = types.package;
|
||||
default = pkgs.fira-code;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
config = { };
|
||||
}
|
||||
@@ -1,7 +1,6 @@
|
||||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./common.nix
|
||||
./kde.nix
|
||||
./hyprland.nix
|
||||
./wayland.nix
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
{ user }:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
users.users.${user.name} = {
|
||||
shell = pkgs.zsh;
|
||||
isNormalUser = true;
|
||||
description = user.name;
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user