Migrate to snowfall lib

This commit is contained in:
soraefir
2023-11-04 02:28:27 +01:00
parent a7ef5cf996
commit 99d64c588e
175 changed files with 3870 additions and 4002 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; [ hyprland ];
# environment.systemPackages = with pkgs; [ bspwm ];
services.greetd = {
enable = true;
settings = rec {
initial_session = {
command = "zsh -c '${pkgs.hyprland}/bin/Hyprland'";
user = "${config.hostcfg.username}";
};
default_session = initial_session;
};
};
environment.etc."greetd/environments".text = ''
Hyprland
'';
};
}