Chore: alejandra
This commit is contained in:
parent
bba1ac685f
commit
5596cdc23a
5 changed files with 30 additions and 40 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,5 @@
|
||||||
imports = [
|
imports = [
|
||||||
# Main entry:
|
# Main entry:
|
||||||
./main.nix
|
./main.nix
|
||||||
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -254,17 +254,11 @@ with lib; {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
############################################################
|
||||||
|
# Lock screen (Hyprlock)
|
||||||
|
############################################################
|
||||||
|
|
||||||
|
hyprlock = {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
############################################################
|
|
||||||
# Lock screen (Hyprlock)
|
|
||||||
############################################################
|
|
||||||
|
|
||||||
hyprlock = {
|
|
||||||
enable = mkEnableOption "Enable Hyprlock lock screen";
|
enable = mkEnableOption "Enable Hyprlock lock screen";
|
||||||
|
|
||||||
# Future-proof: allow raw config injection
|
# Future-proof: allow raw config injection
|
||||||
|
|
@ -276,8 +270,7 @@ hyprlock = {
|
||||||
Useful for custom labels, blur tweaks, etc.
|
Useful for custom labels, blur tweaks, etc.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
waybar = {
|
waybar = {
|
||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
|
|
|
||||||
|
|
@ -3,12 +3,9 @@
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}: {
|
||||||
{
|
fonts.packages = with pkgs; [
|
||||||
|
|
||||||
fonts.packages = with pkgs; [
|
|
||||||
nerd-fonts.jetbrains-mono
|
nerd-fonts.jetbrains-mono
|
||||||
noto-fonts
|
noto-fonts
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue