mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-05-31 15:06:31 +02:00
modules: Add greetd
This commit is contained in:
parent
e00a88bfea
commit
6b496fb529
@ -3,12 +3,12 @@
|
|||||||
./dual-function-keys.nix
|
./dual-function-keys.nix
|
||||||
./fish.nix
|
./fish.nix
|
||||||
./fonts.nix
|
./fonts.nix
|
||||||
|
./greetd.nix
|
||||||
./hyprland.nix
|
./hyprland.nix
|
||||||
./librewolf.nix
|
|
||||||
./piper.nix
|
./piper.nix
|
||||||
./pipewire.nix
|
./pipewire.nix
|
||||||
|
./starship.nix
|
||||||
./stylix.nix
|
./stylix.nix
|
||||||
./swaylock.nix
|
|
||||||
./thunar.nix
|
./thunar.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
18
modules/greetd.nix
Normal file
18
modules/greetd.nix
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
let VARIABLES = import ../src/variables.nix; in {
|
||||||
|
services.greetd = {
|
||||||
|
enable = true;
|
||||||
|
restart = false;
|
||||||
|
settings = {
|
||||||
|
default_session = {
|
||||||
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland";
|
||||||
|
user = "greeter";
|
||||||
|
};
|
||||||
|
initial_session = {
|
||||||
|
command = "${pkgs.hyprland}/bin/Hyprland";
|
||||||
|
user = VARIABLES.username;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
14
src/main.nix
14
src/main.nix
@ -282,20 +282,6 @@ let VARIABLES = import ./variables.nix; in {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
services.greetd = {
|
|
||||||
enable = true;
|
|
||||||
restart = false;
|
|
||||||
settings = {
|
|
||||||
default_session = {
|
|
||||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland";
|
|
||||||
user = "greeter";
|
|
||||||
};
|
|
||||||
initial_session = {
|
|
||||||
command = "${pkgs.hyprland}/bin/Hyprland";
|
|
||||||
user = VARIABLES.username;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
zramSwap.enable = true; # Swap
|
zramSwap.enable = true; # Swap
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user