diff --git a/core/display.nix b/core/display.nix new file mode 100644 index 0000000..7ed43d4 --- /dev/null +++ b/core/display.nix @@ -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; + }; + + }; + +} diff --git a/core/packages.nix b/core/packages.nix index 607e95b..fa43d84 100644 --- a/core/packages.nix +++ b/core/packages.nix @@ -87,26 +87,6 @@ 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 nh = { enable = true; @@ -128,23 +108,12 @@ 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 ? - - ## 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 ## full-time, sorry Micro. <3 environment.variables = { EDITOR = "neovim"; - SYSTEMD_EDITOR = "neovim"; VISUAL = "neovim"; + SYSTEMD_EDITOR = "neovim"; }; ## Enabling flatpak in case i need it diff --git a/core/regreet.nix b/core/regreet.nix new file mode 100644 index 0000000..2260f0c --- /dev/null +++ b/core/regreet.nix @@ -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; + }; + +} diff --git a/core/sddm.nix b/core/sddm.nix new file mode 100644 index 0000000..d036c2f --- /dev/null +++ b/core/sddm.nix @@ -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; + }; + + }; + +}