fix: GreetD module
This commit is contained in:
parent
6197ede07a
commit
1cb2f9b89f
3 changed files with 2 additions and 17 deletions
|
@ -12,18 +12,11 @@
|
||||||
|
|
||||||
modules.fingerprint.enable = true;
|
modules.fingerprint.enable = true;
|
||||||
modules.bluetooth.enable = true;
|
modules.bluetooth.enable = true;
|
||||||
|
modules.greetd.enable = true;
|
||||||
modules.nvidia.enable = true;
|
modules.nvidia.enable = true;
|
||||||
modules.audio.enable = true;
|
modules.audio.enable = true;
|
||||||
|
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
|
|
||||||
# Launch Hyprland upon login
|
|
||||||
environment.loginShellInit = ''
|
|
||||||
if [ $(tty) = /dev/tty1 ]
|
|
||||||
dbus-run-session Hyprland
|
|
||||||
end
|
|
||||||
'';
|
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
gvfs.enable = true;
|
gvfs.enable = true;
|
||||||
upower.enable = true;
|
upower.enable = true;
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
options.modules.greetd = {
|
options.modules.greetd = {
|
||||||
enable = lib.mkEnableOption "Enable GreetD with TUI-based login.";
|
enable = lib.mkEnableOption "Enable GreetD with TUI-based login.";
|
||||||
command = lib.mkOption {
|
command = lib.mkOption {
|
||||||
type = lib.nullOr lib.types.str;
|
type = with lib.types; nullOr str;
|
||||||
default = null;
|
default = null;
|
||||||
description = "Command to run after successful login";
|
description = "Command to run after successful login";
|
||||||
};
|
};
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
../../modules/desktop-environments/hyprland.nix
|
../../modules/desktop-environments/hyprland.nix
|
||||||
../../modules/home-manager/apple-style.nix
|
../../modules/home-manager/apple-style.nix
|
||||||
../../modules/home-manager/stylix.nix
|
../../modules/home-manager/stylix.nix
|
||||||
../../modules/nixos/greetd.nix
|
|
||||||
|
|
||||||
# Utilities + apps
|
# Utilities + apps
|
||||||
../../modules/home-manager/darkman.nix
|
../../modules/home-manager/darkman.nix
|
||||||
|
@ -25,10 +24,8 @@
|
||||||
full = true;
|
full = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
modules.greetd.enable = true;
|
|
||||||
modules.hyprland = {
|
modules.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableLoginManager = true;
|
|
||||||
plugins = with pkgs.hyprlandPlugins; [ hyprspace ];
|
plugins = with pkgs.hyprlandPlugins; [ hyprspace ];
|
||||||
additionalConfig.source = [
|
additionalConfig.source = [
|
||||||
"~/.config/hypr/config/animations.conf"
|
"~/.config/hypr/config/animations.conf"
|
||||||
|
@ -40,11 +37,6 @@
|
||||||
"~/.config/hypr/config/workspaces.conf"
|
"~/.config/hypr/config/workspaces.conf"
|
||||||
];
|
];
|
||||||
|
|
||||||
additionalConfig.env = [
|
|
||||||
"LIBVA_DRIVER_NAME,nvidia"
|
|
||||||
"__GLX_VENDOR_LIBRARY_NAME,nvidia"
|
|
||||||
];
|
|
||||||
|
|
||||||
additionalConfig = {
|
additionalConfig = {
|
||||||
"$terminal" = "alacritty";
|
"$terminal" = "alacritty";
|
||||||
"$fileManager" = "thunar";
|
"$fileManager" = "thunar";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue