Skip to content

Commit

Permalink
update: flake.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
KP64 committed Jan 7, 2025
1 parent 6afc0e9 commit 22b7fe7
Show file tree
Hide file tree
Showing 12 changed files with 497 additions and 166 deletions.
2 changes: 1 addition & 1 deletion desktop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ in
eww.enable = lib.mkDefault true;
hypr.enable = lib.mkDefault true;
services.enable = lib.mkDefault true;
login.sddm.enable = lib.mkDefault true;
login.enable = lib.mkDefault true;
rofi.enable = lib.mkDefault true;
misc.enable = lib.mkDefault true;
};
Expand Down
10 changes: 10 additions & 0 deletions desktop/login/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
{ config, lib, ... }:
let
cfg = config.desktop.login;
in
{
imports = [
./tuigreet.nix
./sddm.nix
];

options.desktop.login.enable = lib.mkEnableOption "Desktop Login";

config = lib.mkIf cfg.enable {
desktop.login.tuigreet.enable = lib.mkDefault true;
};
}
2 changes: 1 addition & 1 deletion desktop/login/tuigreet.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ in
config.services.greetd = {
inherit (cfg) enable;
settings.default_session = {
command = "${tuigreet} --time --cmd hyprland";
command = "${tuigreet} --time";
user = username;
};
};
Expand Down
Loading

0 comments on commit 22b7fe7

Please sign in to comment.