Migrate to snowfall lib

This commit is contained in:
soraefir
2023-11-04 02:28:27 +01:00
parent a7ef5cf996
commit 46bc7e5b5a
170 changed files with 3774 additions and 3987 deletions

View 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
'';
};
}