Compare commits

..

1 commit

4 changed files with 8 additions and 4 deletions

View file

@ -5,11 +5,14 @@
... ...
}: }:
let let
toCSS = import ./tocss.nix { inherit pkgs; }; toCSS = import ./tocss.nix;
in in
lib.mkIf config.programs.waybar.enable { lib.mkIf config.programs.waybar.enable {
programs.waybar = { programs.waybar = {
style = toCSS ./style.scss; style = toCSS {
inherit pkgs;
file = ./style.scss;
};
settings = { settings = {
main = import ./config.nix { inherit pkgs; }; main = import ./config.nix { inherit pkgs; };
}; };

View file

@ -1,5 +1,4 @@
{ pkgs, ... }: { pkgs, file, ... }:
file:
pkgs.stdenv.mkDerivation { pkgs.stdenv.mkDerivation {
name = "toCSS"; name = "toCSS";
buildCommand = '' buildCommand = ''

View file

@ -8,6 +8,7 @@ in
services.dbus.implementation = lib.mkForce "dbus"; services.dbus.implementation = lib.mkForce "dbus";
programs.uwsm = { programs.uwsm = {
enable = true;
waylandCompositors = { waylandCompositors = {
hyprland = mkIf config.programs.hyprland.enable { hyprland = mkIf config.programs.hyprland.enable {
prettyName = "Hyprland"; prettyName = "Hyprland";

View file

@ -8,6 +8,7 @@ let
inherit (lib) mkOption; inherit (lib) mkOption;
in in
{ {
systemdHardening = { systemdHardening = {
IPAddressDeny = "any"; IPAddressDeny = "any";
NoNewPrivileges = true; NoNewPrivileges = true;