working on waybar
This commit is contained in:
+345
-346
File diff suppressed because it is too large
Load Diff
+3
-4
@@ -885,12 +885,12 @@ in
|
||||
** =generated/system/core/waybar.nix=
|
||||
This file installs and configures waybar
|
||||
#+BEGIN_SRC nix :tangle generated/system/core/waybar.nix :noweb tangle :mkdirp yes :eval never-html
|
||||
{ lib, pkgs, config, ... }:
|
||||
{ lib, pkgs, config, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
# Copy the config and style files into the Nix store
|
||||
waybar-config = pkgs.writeText "waybar-config" (builtins.readFile ./assets/system/conf/config);
|
||||
waybar-style = pkgs.writeText "waybar-style" (builtins.readFile ./assets/system/conf/style.css);
|
||||
waybar-config = pkgs.writeText "waybar-config" (builtins.readFile (flakeRoot + "/assets/system/conf/config"));
|
||||
waybar-style = pkgs.writeText "waybar-style" (builtins.readFile (flakeRoot + "/assets/system/conf/style.css"));
|
||||
in
|
||||
{
|
||||
programs.waybar = {
|
||||
@@ -916,7 +916,6 @@ in
|
||||
ln -sf ${waybar-style} /home/${config.users.users.${config.nixpkgs.config.permittedUsers[0]}.name}/.config/waybar/style.css
|
||||
'';
|
||||
}
|
||||
|
||||
#+END_SRC
|
||||
|
||||
** =generated/system/core/login-tuigreeter.nix=
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{ lib, pkgs, config, ... }:
|
||||
{ lib, pkgs, config, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
# Copy the config and style files into the Nix store
|
||||
waybar-config = pkgs.writeText "waybar-config" (builtins.readFile ./assets/system/conf/config);
|
||||
waybar-style = pkgs.writeText "waybar-style" (builtins.readFile ./assets/system/conf/style.css);
|
||||
waybar-config = pkgs.writeText "waybar-config" (builtins.readFile (flakeRoot + "/assets/system/conf/config"));
|
||||
waybar-style = pkgs.writeText "waybar-style" (builtins.readFile (flakeRoot + "/assets/system/conf/style.css"));
|
||||
in
|
||||
{
|
||||
programs.waybar = {
|
||||
|
||||
Reference in New Issue
Block a user