Chore: alejandra

This commit is contained in:
Peritia 2026-03-02 15:48:09 +01:00
parent bba1ac685f
commit 5596cdc23a
5 changed files with 30 additions and 40 deletions

View file

@ -46,7 +46,6 @@
# lock # lock
"bind = $mainMod, L, exec, hyprlock" "bind = $mainMod, L, exec, hyprlock"
# Workspaces # Workspaces
"bind = $mainMod, 1, workspace, 1" "bind = $mainMod, 1, workspace, 1"
"bind = $mainMod, 2, workspace, 2" "bind = $mainMod, 2, workspace, 2"

View file

@ -2,6 +2,5 @@
imports = [ imports = [
# Main entry: # Main entry:
./main.nix ./main.nix
]; ];
} }

View file

@ -1,6 +1,9 @@
{ config, lib, nixosVista, ... }: {
config,
let lib,
nixosVista,
...
}: let
root = nixosVista; root = nixosVista;
cfg = root.hyprlock; cfg = root.hyprlock;
@ -82,8 +85,7 @@ let
} }
]; ];
''; '';
in in {
{
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
programs.hyprlock = { programs.hyprlock = {
enable = true; enable = true;

View file

@ -254,30 +254,23 @@ with lib; {
}; };
}; };
############################################################
# Lock screen (Hyprlock)
############################################################
hyprlock = {
enable = mkEnableOption "Enable Hyprlock lock screen";
# Future-proof: allow raw config injection
extraConfig = mkOption {
type = types.lines;
default = "";
############################################################ description = ''
# Lock screen (Hyprlock) Extra Hyprlock configuration appended to the generated config.
############################################################ Useful for custom labels, blur tweaks, etc.
'';
hyprlock = { };
enable = mkEnableOption "Enable Hyprlock lock screen"; };
# Future-proof: allow raw config injection
extraConfig = mkOption {
type = types.lines;
default = "";
description = ''
Extra Hyprlock configuration appended to the generated config.
Useful for custom labels, blur tweaks, etc.
'';
};
};
waybar = { waybar = {
enable = mkOption { enable = mkOption {

View file

@ -3,12 +3,9 @@
lib, lib,
pkgs, pkgs,
... ...
}: }: {
{ fonts.packages = with pkgs; [
nerd-fonts.jetbrains-mono
fonts.packages = with pkgs; [ noto-fonts
nerd-fonts.jetbrains-mono ];
noto-fonts
];
} }