Migrate to snowfall lib
This commit is contained in:
24
modules/nixos/gui/greet/default.nix
Normal file
24
modules/nixos/gui/greet/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
let cfg = config.hostcfg.make.gui;
|
||||
in {
|
||||
config = lib.mkIf cfg {
|
||||
|
||||
environment.systemPackages = with pkgs; [ bspwm hyprland ];
|
||||
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
settings = rec {
|
||||
initial_session = {
|
||||
command = "zsh";
|
||||
user = "${config.hostcfg.username}";
|
||||
};
|
||||
default_session = initial_session;
|
||||
};
|
||||
};
|
||||
environment.etc."greetd/environments".text = ''
|
||||
Hyprland
|
||||
bspwm
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user