system/greetd: init
This commit is contained in:
parent
413c2f8ea3
commit
f8f0efa256
3 changed files with 13 additions and 0 deletions
|
|
@ -11,6 +11,7 @@
|
||||||
imports = with modules.system; [
|
imports = with modules.system; [
|
||||||
audio
|
audio
|
||||||
base
|
base
|
||||||
|
greetd
|
||||||
gui
|
gui
|
||||||
input
|
input
|
||||||
kernel
|
kernel
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@ in {
|
||||||
system = mkAttrsFromPaths [
|
system = mkAttrsFromPaths [
|
||||||
./system/audio.nix
|
./system/audio.nix
|
||||||
./system/base.nix
|
./system/base.nix
|
||||||
|
./system/greetd.nix
|
||||||
./system/gui.nix
|
./system/gui.nix
|
||||||
./system/input.nix
|
./system/input.nix
|
||||||
./system/kernel.nix
|
./system/kernel.nix
|
||||||
|
|
|
||||||
11
modules/system/greetd.nix
Normal file
11
modules/system/greetd.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{ pkgs, lib, ... }: {
|
||||||
|
services.greetd = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
default_session = {
|
||||||
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --remember --asterisks --time --cmd startx";
|
||||||
|
user = "greeter";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue