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
];
smayzy.lf.enable = true;
smayzy.kitty.enable = true;
home.username = "smayzy";
home.homeDirectory = "/home/smayzy";
home.stateVersion = "25.05";

View File

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

View File

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

View File

@ -2,5 +2,6 @@
{
imports = [
./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.kitty.enable = true;
environment.systemPackages = with pkgs; [
wofi
wlogout
@ -38,7 +40,6 @@ in
hyprlock
pavucontrol
cliphist
kitty
grim
slurp
];