fx: regreet enable

This commit is contained in:
2026-10-02 13:26:24 +02:00
parent cfcb1b8b78
commit ac8e134d1a
4 changed files with 31 additions and 8 deletions

View File

@@ -5,6 +5,10 @@
enable = true; enable = true;
settings = [ settings = [
{ profile.name = "default"; { profile.name = "default";
profile.exec = [
/home/djai/.config/hypr/scripts/waybar.sh
/home/djai/.config/hypr/scripts/bg.sh
];
profile.outputs = [ profile.outputs = [
{ {
criteria = "eDP-2"; criteria = "eDP-2";
@@ -14,6 +18,10 @@
]; ];
} }
{ profile.name = "grun"; { profile.name = "grun";
profile.exec = [
/home/djai/.config/hypr/scripts/waybar.sh
/home/djai/.config/hypr/scripts/bg.sh
];
profile.outputs = [ profile.outputs = [
{ {
criteria = "eDP-2"; criteria = "eDP-2";
@@ -28,6 +36,10 @@
]; ];
} }
{ profile.name = "illo"; { profile.name = "illo";
profile.exec = [
/home/djai/.config/hypr/scripts/waybar.sh
/home/djai/.config/hypr/scripts/bg.sh
];
profile.outputs = [ profile.outputs = [
{ {
criteria = "eDP-2"; criteria = "eDP-2";
@@ -42,6 +54,10 @@
]; ];
} }
{ profile.name = "remi"; { profile.name = "remi";
profile.exec = [
/home/djai/.config/hypr/scripts/waybar.sh
/home/djai/.config/hypr/scripts/bg.sh
];
profile.outputs = [ profile.outputs = [
{ {
criteria = "eDP-2"; criteria = "eDP-2";

View File

@@ -3,7 +3,7 @@
pkgs, pkgs,
inputs, inputs,
... ...
}: }@osConfig:
{ {
nix.settings.experimental-features = [ nix.settings.experimental-features = [
@@ -59,11 +59,13 @@
extraSpecialArgs = { inherit inputs; }; extraSpecialArgs = { inherit inputs; };
backupFileExtension = "bck"; backupFileExtension = "bck";
users."djai" = { users."djai" = { config, ... }: {
programs.home-manager.enable = true; programs.home-manager.enable = true;
xdg.configFile."uwsm/env".source = "${config.home.sessionVariablesPackage}/etc/profile.d/hm-session-vars.sh";
home.file.".ssh/config".text = '' home.file.".ssh/config".text = ''
Include ${config.sops.secrets."ssh-config".path} Include ${osConfig.config.sops.secrets."ssh-config".path}
''; '';
home = { home = {

View File

@@ -7,15 +7,18 @@
services.greetd = { services.greetd = {
enable = true; enable = true;
useTextGreeter = true;
settings = rec { settings = rec {
initial_session = { initial_session = {
command="${pkgs.uwsm}/bin/uwsm start hyprland.desktop"; command="${pkgs.uwsm}/bin/uwsm start hyprland.desktop";
user = "djai"; user = "djai";
}; };
default_session = initial_session; default_session = {
command = "${pkgs.tuigreet}/bin/tuigreet";
user = "greeter";
};
}; };
}; };
programs.regreet.enable = true;
# note that we set the videodrivers on a per-host basis, so not here. # note that we set the videodrivers on a per-host basis, so not here.
services.xserver = { services.xserver = {
@@ -51,13 +54,13 @@
users.users.djai.packages = with pkgs; [ users.users.djai.packages = with pkgs; [
hyprpicker hyprpicker
hyprprop hyprprop
hyprlandPlugins.hypr-darkwindow waybar
tuigreet
wf-recorder wf-recorder
grimblast grimblast
wmctrl wmctrl
kanshi kanshi
rofi rofi
waybar
wl-clipboard wl-clipboard
wl-clipboard-x11 wl-clipboard-x11
swaybg swaybg

View File

@@ -1,4 +1,4 @@
{ lib, pkgs, ... }: { config, lib, pkgs, ... }:
let let
@@ -40,6 +40,7 @@ in
home-manager.users."djai".home.file.".config/hypr/scripts".source = ./scripts; home-manager.users."djai".home.file.".config/hypr/scripts".source = ./scripts;
home-manager.users."djai".home.file.".config/hypr/shaders".source = ./shaders; home-manager.users."djai".home.file.".config/hypr/shaders".source = ./shaders;
home-manager.users."djai".wayland.windowManager.hyprland = { home-manager.users."djai".wayland.windowManager.hyprland = {
enable = true; enable = true;
configType = "lua"; configType = "lua";
@@ -48,6 +49,7 @@ in
hyprlandPlugins.hypr-darkwindow hyprlandPlugins.hypr-darkwindow
]; ];
portalPackage = null; portalPackage = null;
systemd.enable = false;
settings = { settings = {
on = [ #TODO: set up exec oncess on = [ #TODO: set up exec oncess