added new user
This commit is contained in:
parent
ddbae84c1a
commit
a52a3b3a2e
7 changed files with 72 additions and 41 deletions
|
|
@ -63,6 +63,7 @@ in
|
|||
p7zip
|
||||
plasma-panel-colorizer
|
||||
plasticity
|
||||
prismlauncher
|
||||
protonup
|
||||
quickemu
|
||||
quickgui
|
||||
|
|
@ -84,7 +85,6 @@ in
|
|||
packages = [
|
||||
"com.github.k4zmu2a.spacecadetpinball"
|
||||
"com.github.tchx84.Flatseal"
|
||||
"com.modrinth.ModrinthApp"
|
||||
"com.steamgriddb.SGDBoop"
|
||||
"app.zen_browser.zen"
|
||||
"io.github.Foldex.AdwSteamGtk"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
|
@ -9,6 +8,13 @@
|
|||
services = {
|
||||
printing.enable = true;
|
||||
udev.packages = with pkgs; [ yubikey-personalization ];
|
||||
displayManager.sddm = {
|
||||
enable = true;
|
||||
wayland = {
|
||||
enable = true;
|
||||
compositor = "kwin";
|
||||
};
|
||||
};
|
||||
desktopManager.plasma6.enable = true;
|
||||
tailscale.useRoutingFeatures = "client";
|
||||
nginx = {
|
||||
|
|
@ -23,30 +29,30 @@
|
|||
jack.enable = true;
|
||||
wireplumber.enable = true;
|
||||
};
|
||||
greetd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
default_session.command =
|
||||
let
|
||||
xSessions = "${config.services.displayManager.sessionData.desktops}/share/xsessions";
|
||||
wlSessions = "${config.services.displayManager.sessionData.desktops}/share/wayland-sessions";
|
||||
in
|
||||
''
|
||||
${pkgs.greetd.tuigreet}/bin/tuigreet \
|
||||
--remember \
|
||||
--asterisks \
|
||||
--time \
|
||||
--greeting "NixOS" \
|
||||
--sessions ${xSessions}:${wlSessions}
|
||||
'';
|
||||
initial_session = {
|
||||
command = ''
|
||||
${pkgs.kdePackages.plasma-workspace}/bin/startplasma-wayland &> /dev/null
|
||||
'';
|
||||
user = "user";
|
||||
};
|
||||
};
|
||||
};
|
||||
# greetd = {
|
||||
# enable = true;
|
||||
# settings = {
|
||||
# default_session.command =
|
||||
# let
|
||||
# xSessions = "${config.services.displayManager.sessionData.desktops}/share/xsessions";
|
||||
# wlSessions = "${config.services.displayManager.sessionData.desktops}/share/wayland-sessions";
|
||||
# in
|
||||
# ''
|
||||
# ${pkgs.greetd.tuigreet}/bin/tuigreet \
|
||||
# --remember \
|
||||
# --asterisks \
|
||||
# --time \
|
||||
# --greeting "NixOS" \
|
||||
# --sessions ${xSessions}:${wlSessions}
|
||||
# '';
|
||||
# initial_session = {
|
||||
# command = ''
|
||||
# ${pkgs.kdePackages.plasma-workspace}/bin/startplasma-wayland &> /dev/null
|
||||
# '';
|
||||
# user = "user";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
|
|
|
|||
|
|
@ -6,15 +6,24 @@
|
|||
NIXOS_OZONE_WL = "1"; # Forces chromium and most electron apps to run in wayland
|
||||
};
|
||||
|
||||
users.users.user = {
|
||||
description = "William";
|
||||
extraGroups = [
|
||||
"uaccess" # Needed for HID dev
|
||||
"dialout" # Needed for arduino dev
|
||||
"libvirt"
|
||||
"libvirtd"
|
||||
"adbusers"
|
||||
"i2c"
|
||||
];
|
||||
users.users = {
|
||||
user = {
|
||||
description = "William";
|
||||
uid = 1000;
|
||||
extraGroups = [
|
||||
"uaccess" # Needed for HID dev
|
||||
"dialout" # Needed for arduino dev
|
||||
"libvirt"
|
||||
"libvirtd"
|
||||
"adbusers"
|
||||
"i2c"
|
||||
];
|
||||
};
|
||||
ewans = {
|
||||
description = "Ewans";
|
||||
isNormalUser = true;
|
||||
uid = 1001;
|
||||
hashedPassword = "$y$j9T$yHLUDvj6bDIP19dchU.aA/$OY4qeFNtx/GvI.VUYx4LapHiiVwi0MEvs8AT0HN7j58";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue