working on waybar
This commit is contained in:
+346
-344
File diff suppressed because it is too large
Load Diff
+4
-2
@@ -888,8 +888,9 @@ This file installs and configures waybar
|
|||||||
{ lib, pkgs, config, ... }:
|
{ lib, pkgs, config, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
waybar-config = ./assets/system/conf/config;
|
# Copy the config and style files into the Nix store
|
||||||
waybar-style = ./assets/system/conf/style.css;
|
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);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
@@ -915,6 +916,7 @@ in
|
|||||||
ln -sf ${waybar-style} /home/${config.users.users.${config.nixpkgs.config.permittedUsers[0]}.name}/.config/waybar/style.css
|
ln -sf ${waybar-style} /home/${config.users.users.${config.nixpkgs.config.permittedUsers[0]}.name}/.config/waybar/style.css
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** =generated/system/core/login-tuigreeter.nix=
|
** =generated/system/core/login-tuigreeter.nix=
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
{ lib, pkgs, config, ... }:
|
{ lib, pkgs, config, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
waybar-config = ./assets/system/conf/config;
|
# Copy the config and style files into the Nix store
|
||||||
waybar-style = ./assets/system/conf/style.css;
|
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);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
|
|||||||
Reference in New Issue
Block a user