This commit is contained in:
2026-03-24 10:40:31 +01:00
parent 61026947d3
commit 0749c86085
16 changed files with 75 additions and 85 deletions

View File

@@ -1,6 +1,5 @@
{
lib,
isNixOS,
userConfig,
pkgs,
...
@@ -9,7 +8,7 @@
{
programs.ashell = {
enable = true;
package = lib.mkIf (!isNixOS) null;
package = lib.mkIf (!userConfig.isNixOS) null;
settings = {
outputs = {
Targets = [ userConfig.mainMonitor ];

View File

@@ -1,6 +1,5 @@
{
pkgs,
isNixOS,
userConfig,
...
}:
@@ -9,7 +8,7 @@
programs.waybar = {
enable = true;
package =
if isNixOS then pkgs.waybar else (pkgs.writeShellScriptBin "waybar" "exec /usr/bin/waybar \"$@\"");
if userConfig.isNixOS then pkgs.waybar else (pkgs.writeShellScriptBin "waybar" "exec /usr/bin/waybar \"$@\"");
settings = {
mainBar = {
layer = "top";