modded some greetd stuff and plasticity is broken rn
This commit is contained in:
parent
0a2a7c7266
commit
6be4f3743c
2 changed files with 19 additions and 21 deletions
|
|
@ -45,7 +45,7 @@ in {
|
||||||
orca-slicer
|
orca-slicer
|
||||||
openscad
|
openscad
|
||||||
p7zip
|
p7zip
|
||||||
plasticity
|
# plasticity
|
||||||
prismlauncher
|
prismlauncher
|
||||||
protonup
|
protonup
|
||||||
qbittorrent
|
qbittorrent
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,12 @@
|
||||||
{ inputs, config, pkgs, lib, ... }:
|
{ inputs, config, pkgs, lib, ... }:
|
||||||
|
|
||||||
let
|
{
|
||||||
plasma = pkgs.writeScriptBin "plasma" ''
|
|
||||||
${pkgs.kdePackages.plasma-workspace}/bin/startplasma-wayland &> /dev/null
|
|
||||||
'';
|
|
||||||
|
|
||||||
in {
|
|
||||||
services = {
|
services = {
|
||||||
printing = {
|
printing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
drivers = with pkgs; [ epson-escpr ];
|
drivers = with pkgs; [ epson-escpr ];
|
||||||
};
|
};
|
||||||
udev.packages = with pkgs; [ platformio openocd yubikey-personalization ];
|
udev.packages = with pkgs; [ yubikey-personalization ];
|
||||||
desktopManager.plasma6.enable = true;
|
desktopManager.plasma6.enable = true;
|
||||||
nginx = {
|
nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -25,23 +20,26 @@ in {
|
||||||
jack.enable = true;
|
jack.enable = true;
|
||||||
wireplumber.enable = true;
|
wireplumber.enable = true;
|
||||||
};
|
};
|
||||||
xserver = {
|
|
||||||
enable = true;
|
|
||||||
xkb = {
|
|
||||||
layout = "us";
|
|
||||||
variant = "altgr-intl";
|
|
||||||
};
|
|
||||||
exportConfiguration = true;
|
|
||||||
excludePackages = (with pkgs; [ xterm ]);
|
|
||||||
displayManager.startx.enable = true;
|
|
||||||
};
|
|
||||||
greetd = {
|
greetd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
default_session.command = ''
|
default_session.command = let
|
||||||
${pkgs.greetd.tuigreet}/bin/tuigreet --remember --asterisks --time --greeting "Welcome to NixOS" --cmd ${plasma}/bin/plasma'';
|
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 = {
|
initial_session = {
|
||||||
command = "${plasma}/bin/plasma";
|
command = ''
|
||||||
|
${pkgs.kdePackages.plasma-workspace}/bin/startplasma-wayland &> /dev/null
|
||||||
|
'';
|
||||||
user = "user";
|
user = "user";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue