Regenerated
This commit is contained in:
+347
-348
File diff suppressed because it is too large
Load Diff
+3
-4
@@ -1492,12 +1492,11 @@ This sets the firewall.
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Firewall management tools
|
# CLI tool for temporary rule changes without rebuilding
|
||||||
|
# Usage: sudo nixos-firewall-tool open tcp 8080
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
nixos-firewall-tool # CLI: sudo nixos-firewall-tool open tcp 8080
|
nixos-firewall-tool
|
||||||
firewall-config # GUI: graphical firewall manager (Wayland-compatible)
|
|
||||||
];
|
];
|
||||||
services.firewalld.enable = true;
|
|
||||||
}
|
}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
|||||||
@@ -1,76 +0,0 @@
|
|||||||
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
|
||||||
{ lib, config, pkgs, flakeRoot, ... }:
|
|
||||||
let
|
|
||||||
colors = {
|
|
||||||
crust = "#11111b";
|
|
||||||
mantle = "#181825";
|
|
||||||
base = "#1e1e2e";
|
|
||||||
surface0 = "#313244";
|
|
||||||
surface1 = "#45475a";
|
|
||||||
surface2 = "#585b70";
|
|
||||||
overlay0 = "#6c7086";
|
|
||||||
overlay1 = "#7f849c";
|
|
||||||
overlay2 = "#9399b2";
|
|
||||||
subtext0 = "#a6adc8";
|
|
||||||
subtext1 = "#bac2de";
|
|
||||||
text = "#cdd6f4";
|
|
||||||
rosewater = "#f5e0dc";
|
|
||||||
flamingo = "#f2cdcd";
|
|
||||||
pink = "#f5c2e7";
|
|
||||||
mauve = "#cba6f7";
|
|
||||||
red = "#f38ba8";
|
|
||||||
maroon = "#eba0ac";
|
|
||||||
peach = "#fab387";
|
|
||||||
yellow = "#f9e2af";
|
|
||||||
green = "#a6e3a1";
|
|
||||||
teal = "#94e2d5";
|
|
||||||
sapphire = "#74c7ec";
|
|
||||||
blue = "#89b4fa";
|
|
||||||
lavender = "#b4befe";
|
|
||||||
};
|
|
||||||
|
|
||||||
username = config.defaultUser or "henrov";
|
|
||||||
|
|
||||||
cssContent = ''
|
|
||||||
/* Catppuccin Mocha Palette - auto-generated, do not edit manually */
|
|
||||||
'' + lib.concatStringsSep "\n" (
|
|
||||||
lib.mapAttrsToList (name: value:
|
|
||||||
"@define-color ${name} ${value};"
|
|
||||||
) colors
|
|
||||||
) + "\n@define-color base-alpha rgba(30, 30, 46, 0.9);";
|
|
||||||
|
|
||||||
qmlContent = ''
|
|
||||||
pragma Singleton
|
|
||||||
// Catppuccin Mocha Palette - auto-generated, do not edit manually
|
|
||||||
import QtQuick
|
|
||||||
QtObject {
|
|
||||||
readonly property color baseAlpha: Qt.rgba(30/255, 30/255, 46/255, 0.9)
|
|
||||||
'' + lib.concatStringsSep "\n" (
|
|
||||||
lib.mapAttrsToList (name: value:
|
|
||||||
" readonly property color ${name}: \"${value}\""
|
|
||||||
) colors
|
|
||||||
) + "\n}";
|
|
||||||
|
|
||||||
in
|
|
||||||
{
|
|
||||||
home-manager.users.${username} = {
|
|
||||||
home.file = {
|
|
||||||
".config/shared/Colors.css" = {
|
|
||||||
text = cssContent;
|
|
||||||
force = true;
|
|
||||||
};
|
|
||||||
".config/quickshell/Colors.qml" = {
|
|
||||||
text = qmlContent;
|
|
||||||
force = true;
|
|
||||||
};
|
|
||||||
".config/quickshell/powermenu/Colors.qml" = {
|
|
||||||
text = qmlContent;
|
|
||||||
force = true;
|
|
||||||
};
|
|
||||||
".config/quickshell/powermenu/qmldir" = {
|
|
||||||
text = "singleton Colors 1.0 Colors.qml";
|
|
||||||
force = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -59,10 +59,9 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Firewall management tools
|
# CLI tool for temporary rule changes without rebuilding
|
||||||
|
# Usage: sudo nixos-firewall-tool open tcp 8080
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
nixos-firewall-tool # CLI: sudo nixos-firewall-tool open tcp 8080
|
nixos-firewall-tool
|
||||||
firewall-config # GUI: graphical firewall manager (Wayland-compatible)
|
|
||||||
];
|
];
|
||||||
services.firewalld.enable = true;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user