This commit is contained in:
smayzy 2025-08-02 15:20:59 +02:00
parent 6c094967e3
commit 1f6904cbc9
6 changed files with 29 additions and 23 deletions

View File

@ -5,10 +5,6 @@
../../modules/home-manager/default.nix ../../modules/home-manager/default.nix
]; ];
smayzy.lf.enable = true;
smayzy.kitty.enable = true;
home.username = "smayzy"; home.username = "smayzy";
home.homeDirectory = "/home/smayzy"; home.homeDirectory = "/home/smayzy";
home.stateVersion = "25.05"; home.stateVersion = "25.05";

View File

@ -1,20 +1,14 @@
{ {
pkgs, pkgs,
lib, lib,
config, smayzy,
... ...
}: }:
let let
inherit (lib) mkIf mkOption types; inherit (lib) mkIf;
in in
{ {
options.smayzy.lf.enable = mkOption { config = mkIf smayzy.base-cli-pkgs.enable {
type = types.bool;
default = false;
description = "set to true if you want to use a nvidia GC";
};
config = mkIf config.smayzy.lf.enable {
xdg.configFile."lf/icons".source = ./icons; xdg.configFile."lf/icons".source = ./icons;
programs.lf = { programs.lf = {

View File

@ -1,15 +1,9 @@
{ config, lib, ... }: { smayzy, lib, ... }:
let let
inherit (lib) mkIf mkOption types; inherit (lib) mkIf;
in in
{ {
options.smayzy.kitty.enable = mkOption { config = mkIf smayzy.kitty.enable {
type = types.bool;
default = false;
description = "kitty config";
};
config = mkIf config.smayzy.kitty.enable {
programs.kitty = { programs.kitty = {
enable = true; enable = true;
settings = { settings = {

View File

@ -2,5 +2,6 @@
{ {
imports = [ imports = [
./alacritty.nix ./alacritty.nix
./kitty.nix
]; ];
} }

View File

@ -0,0 +1,20 @@
{
config,
lib,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.kitty.enable = mkOption {
type = types.bool;
default = false;
description = "kitty";
};
config = mkIf config.smayzy.kitty.enable {
environment.systemPackages = with pkgs; [ kitty ];
};
}

View File

@ -27,6 +27,8 @@ in
smayzy.mako.enable = true; smayzy.mako.enable = true;
smayzy.kitty.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
wofi wofi
wlogout wlogout
@ -38,7 +40,6 @@ in
hyprlock hyprlock
pavucontrol pavucontrol
cliphist cliphist
kitty
grim grim
slurp slurp
]; ];