hoe manager
This commit is contained in:
parent
bfbc64b611
commit
f266f8a8ee
14 changed files with 154 additions and 29 deletions
26
modules/window_manager/bar.nix
Normal file
26
modules/window_manager/bar.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
enable_waybar =
|
||||
if config.networking.hostName == "marty-pc" then
|
||||
true
|
||||
else if config.networking.hostName == "marty-latitude" then
|
||||
true
|
||||
else if config.networking.hostName == "marty-server" then
|
||||
false
|
||||
else
|
||||
false;
|
||||
in
|
||||
|
||||
{
|
||||
programs = {
|
||||
waybar = {
|
||||
enable = enable_waybar;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue