added new user
This commit is contained in:
parent
ddbae84c1a
commit
a52a3b3a2e
7 changed files with 72 additions and 41 deletions
7
flake.lock
generated
7
flake.lock
generated
|
|
@ -612,15 +612,16 @@
|
||||||
"tinted-zed": "tinted-zed"
|
"tinted-zed": "tinted-zed"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1738025638,
|
"lastModified": 1738278499,
|
||||||
"narHash": "sha256-nU3JpvIeEmcDHzQK4OTD1KXSoL/GOff6j9kuSO4X8eM=",
|
"narHash": "sha256-q1SUyXSQ9znHTME53/vPLe+Ga3V1wW3X3gWfa8JsBUM=",
|
||||||
"owner": "danth",
|
"owner": "danth",
|
||||||
"repo": "stylix",
|
"repo": "stylix",
|
||||||
"rev": "55418e8fc8d4696af619176a22cefcfac56ad2ef",
|
"rev": "b00c9f46ae6c27074d24d2db390f0ac5ebcc329f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "danth",
|
"owner": "danth",
|
||||||
|
"ref": "b00c9f46ae6c27074d24d2db390f0ac5ebcc329f",
|
||||||
"repo": "stylix",
|
"repo": "stylix",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs-stable";
|
inputs.nixpkgs.follows = "nixpkgs-stable";
|
||||||
};
|
};
|
||||||
|
|
||||||
stylix.url = "github:danth/stylix";
|
stylix.url = "github:danth/stylix?ref=b00c9f46ae6c27074d24d2db390f0ac5ebcc329f";
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -63,6 +63,7 @@ in
|
||||||
p7zip
|
p7zip
|
||||||
plasma-panel-colorizer
|
plasma-panel-colorizer
|
||||||
plasticity
|
plasticity
|
||||||
|
prismlauncher
|
||||||
protonup
|
protonup
|
||||||
quickemu
|
quickemu
|
||||||
quickgui
|
quickgui
|
||||||
|
|
@ -84,7 +85,6 @@ in
|
||||||
packages = [
|
packages = [
|
||||||
"com.github.k4zmu2a.spacecadetpinball"
|
"com.github.k4zmu2a.spacecadetpinball"
|
||||||
"com.github.tchx84.Flatseal"
|
"com.github.tchx84.Flatseal"
|
||||||
"com.modrinth.ModrinthApp"
|
|
||||||
"com.steamgriddb.SGDBoop"
|
"com.steamgriddb.SGDBoop"
|
||||||
"app.zen_browser.zen"
|
"app.zen_browser.zen"
|
||||||
"io.github.Foldex.AdwSteamGtk"
|
"io.github.Foldex.AdwSteamGtk"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
inputs,
|
inputs,
|
||||||
config,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
@ -9,6 +8,13 @@
|
||||||
services = {
|
services = {
|
||||||
printing.enable = true;
|
printing.enable = true;
|
||||||
udev.packages = with pkgs; [ yubikey-personalization ];
|
udev.packages = with pkgs; [ yubikey-personalization ];
|
||||||
|
displayManager.sddm = {
|
||||||
|
enable = true;
|
||||||
|
wayland = {
|
||||||
|
enable = true;
|
||||||
|
compositor = "kwin";
|
||||||
|
};
|
||||||
|
};
|
||||||
desktopManager.plasma6.enable = true;
|
desktopManager.plasma6.enable = true;
|
||||||
tailscale.useRoutingFeatures = "client";
|
tailscale.useRoutingFeatures = "client";
|
||||||
nginx = {
|
nginx = {
|
||||||
|
|
@ -23,30 +29,30 @@
|
||||||
jack.enable = true;
|
jack.enable = true;
|
||||||
wireplumber.enable = true;
|
wireplumber.enable = true;
|
||||||
};
|
};
|
||||||
greetd = {
|
# greetd = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
settings = {
|
# settings = {
|
||||||
default_session.command =
|
# default_session.command =
|
||||||
let
|
# let
|
||||||
xSessions = "${config.services.displayManager.sessionData.desktops}/share/xsessions";
|
# xSessions = "${config.services.displayManager.sessionData.desktops}/share/xsessions";
|
||||||
wlSessions = "${config.services.displayManager.sessionData.desktops}/share/wayland-sessions";
|
# wlSessions = "${config.services.displayManager.sessionData.desktops}/share/wayland-sessions";
|
||||||
in
|
# in
|
||||||
''
|
# ''
|
||||||
${pkgs.greetd.tuigreet}/bin/tuigreet \
|
# ${pkgs.greetd.tuigreet}/bin/tuigreet \
|
||||||
--remember \
|
# --remember \
|
||||||
--asterisks \
|
# --asterisks \
|
||||||
--time \
|
# --time \
|
||||||
--greeting "NixOS" \
|
# --greeting "NixOS" \
|
||||||
--sessions ${xSessions}:${wlSessions}
|
# --sessions ${xSessions}:${wlSessions}
|
||||||
'';
|
# '';
|
||||||
initial_session = {
|
# initial_session = {
|
||||||
command = ''
|
# command = ''
|
||||||
${pkgs.kdePackages.plasma-workspace}/bin/startplasma-wayland &> /dev/null
|
# ${pkgs.kdePackages.plasma-workspace}/bin/startplasma-wayland &> /dev/null
|
||||||
'';
|
# '';
|
||||||
user = "user";
|
# user = "user";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,10 @@
|
||||||
NIXOS_OZONE_WL = "1"; # Forces chromium and most electron apps to run in wayland
|
NIXOS_OZONE_WL = "1"; # Forces chromium and most electron apps to run in wayland
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.user = {
|
users.users = {
|
||||||
|
user = {
|
||||||
description = "William";
|
description = "William";
|
||||||
|
uid = 1000;
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"uaccess" # Needed for HID dev
|
"uaccess" # Needed for HID dev
|
||||||
"dialout" # Needed for arduino dev
|
"dialout" # Needed for arduino dev
|
||||||
|
|
@ -17,4 +19,11 @@
|
||||||
"i2c"
|
"i2c"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
ewans = {
|
||||||
|
description = "Ewans";
|
||||||
|
isNormalUser = true;
|
||||||
|
uid = 1001;
|
||||||
|
hashedPassword = "$y$j9T$yHLUDvj6bDIP19dchU.aA/$OY4qeFNtx/GvI.VUYx4LapHiiVwi0MEvs8AT0HN7j58";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,13 @@ in
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ reboot-into-qubes ];
|
environment.systemPackages = with pkgs; [ reboot-into-qubes ];
|
||||||
|
|
||||||
# hardware.graphics.extraPackages = with pkgs; [ rocmPackages.clr.icd ];
|
hardware = {
|
||||||
|
amdgpu = {
|
||||||
|
opencl.enable = true;
|
||||||
|
amdvlk.enable = true;
|
||||||
|
};
|
||||||
|
graphics.extraPackages = with pkgs; [ rocmPackages.clr.icd ];
|
||||||
|
};
|
||||||
|
|
||||||
systemd.targets.hibernate.enable = false; # disable non-functional hibernate
|
systemd.targets.hibernate.enable = false; # disable non-functional hibernate
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,4 +25,13 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gtk = {
|
||||||
|
gtk3.extraConfig = {
|
||||||
|
gtk-decoration-layout = "appmenu:none";
|
||||||
|
};
|
||||||
|
gtk4.extraConfig = {
|
||||||
|
gtk-decoration-layout = "appmenu:none";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue