trying out different dm
This commit is contained in:
parent
5b81296354
commit
bef19cdc10
4 changed files with 98 additions and 32 deletions
42
core/display.nix
Normal file
42
core/display.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
||||||
|
{
|
||||||
|
inputs,
|
||||||
|
outputs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./regreet.nix
|
||||||
|
#./sddm.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
## xserver still needed for xwayland stuff
|
||||||
|
services.xserver.enable = true;
|
||||||
|
|
||||||
|
programs = {
|
||||||
|
|
||||||
|
## Temporary, fuck vaxery or whatever his name is
|
||||||
|
## punk-ass motherfucker, swayfx looks neat
|
||||||
|
## and is probably more stable anyway so yeah
|
||||||
|
## whatever, im not mad, why would you think im mad
|
||||||
|
## its not like the prettiest wayland "wm" has
|
||||||
|
## a complete shithead as a lead dev, it's not
|
||||||
|
## like i got sold on it and nearly set it up
|
||||||
|
## completely before finding out about vaxo-bingus'
|
||||||
|
## chuddery and deciding i had to jump ship to sway
|
||||||
|
## a "wm" with comparatively little by ways of
|
||||||
|
## "eye-candy". Oh boy am i glad swayfx exists
|
||||||
|
##
|
||||||
|
## Authors note: this is excessive, overly dramatic,
|
||||||
|
## and played entirely (mostly) for laughs.
|
||||||
|
hyprland = {
|
||||||
|
enable = true;
|
||||||
|
xwayland.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -87,26 +87,6 @@
|
||||||
binfmt = true;
|
binfmt = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
## Temporary, fuck vaxery or whatever his name is
|
|
||||||
## punk-ass motherfucker, swayfx looks neat
|
|
||||||
## and is probably more stable anyway so yeah
|
|
||||||
## whatever, im not mad, why would you think im mad
|
|
||||||
## its not like the prettiest wayland "wm" has
|
|
||||||
## a complete shithead as a lead dev, it's not
|
|
||||||
## like i got sold on it and nearly set it up
|
|
||||||
## completely before finding out about vaxo-bingus'
|
|
||||||
## chuddery and deciding i had to jump ship to sway
|
|
||||||
## a "wm" with comparatively little by ways of
|
|
||||||
## "eye-candy". Oh boy am i glad swayfx exists
|
|
||||||
##
|
|
||||||
## Authors note: this is excessive, overly dramatic,
|
|
||||||
## and played entirely (mostly) for laughs.
|
|
||||||
hyprland = {
|
|
||||||
enable = true;
|
|
||||||
xwayland.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
## NixOS CLI helper
|
## NixOS CLI helper
|
||||||
nh = {
|
nh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -128,23 +108,12 @@
|
||||||
services.gnome.gnome-settings-daemon.enable = true; # GUI settings ?
|
services.gnome.gnome-settings-daemon.enable = true; # GUI settings ?
|
||||||
security.pam.services.serenity.enableGnomeKeyring = true; # dunno if i did this right, but possible needed for keyring/polkit stuff ?
|
security.pam.services.serenity.enableGnomeKeyring = true; # dunno if i did this right, but possible needed for keyring/polkit stuff ?
|
||||||
|
|
||||||
|
|
||||||
## xserver still needed for xwayland stuff
|
|
||||||
services.xserver.enable = true;
|
|
||||||
|
|
||||||
## login greeter/display manager
|
|
||||||
## set to run on wayland also
|
|
||||||
services.displayManager.sddm = {
|
|
||||||
enable = true;
|
|
||||||
wayland.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
## Wei have switched to neovim
|
## Wei have switched to neovim
|
||||||
## full-time, sorry Micro. <3
|
## full-time, sorry Micro. <3
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
EDITOR = "neovim";
|
EDITOR = "neovim";
|
||||||
SYSTEMD_EDITOR = "neovim";
|
|
||||||
VISUAL = "neovim";
|
VISUAL = "neovim";
|
||||||
|
SYSTEMD_EDITOR = "neovim";
|
||||||
};
|
};
|
||||||
|
|
||||||
## Enabling flatpak in case i need it
|
## Enabling flatpak in case i need it
|
||||||
|
|
|
||||||
31
core/regreet.nix
Normal file
31
core/regreet.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
{
|
||||||
|
inputs,
|
||||||
|
outputs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
#./regreet.nix
|
||||||
|
#./sddm.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
services = {
|
||||||
|
|
||||||
|
greetd = {
|
||||||
|
enable = true;
|
||||||
|
settings.default_session = {
|
||||||
|
command = "${pkgs.greetd.regreet}/bin/regreet --cmd sway";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.regreet = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
24
core/sddm.nix
Normal file
24
core/sddm.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
inputs,
|
||||||
|
outputs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
];
|
||||||
|
|
||||||
|
services = {
|
||||||
|
## login greeter/display manager,
|
||||||
|
## set to run wayland.
|
||||||
|
displayManager.sddm = {
|
||||||
|
enable = true;
|
||||||
|
wayland.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue