mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2026-04-15 21:59:12 +02:00
wip: migrate client modules
This commit is contained in:
parent
f6d2ff1544
commit
7ce27d5d2f
245 changed files with 20254 additions and 188 deletions
25
modules-clone/nixos/client/login.nix
Normal file
25
modules-clone/nixos/client/login.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
{
|
||||
options.swarselmodules.login = lib.mkEnableOption "login config";
|
||||
config = lib.mkIf config.swarselmodules.login {
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
# initial_session.command = "sway";
|
||||
initial_session.command = "uwsm start -- niri-uwsm.desktop";
|
||||
# --cmd sway
|
||||
default_session.command = ''
|
||||
${pkgs.tuigreet}/bin/tuigreet \
|
||||
--time \
|
||||
--asterisks \
|
||||
--user-menu \
|
||||
--cmd "uwsm start -- niri-uwsm.desktop"
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
# environment.etc."greetd/environments".text = ''
|
||||
# sway
|
||||
# '';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue