Compare commits

...

3 Commits

Author SHA1 Message Date
85f0b82334 mv calibre to modules
All checks were successful
nix flake show / show-flake (push) Successful in 27s
2025-07-21 14:40:21 +02:00
763cd548f4 mv arduino to modules 2025-07-21 13:55:23 +02:00
b100324fba mv lf to base-cli 2025-07-21 13:39:11 +02:00
9 changed files with 49 additions and 3 deletions

View File

@ -18,9 +18,6 @@
environment.systemPackages = with pkgs; [
home-manager
lf
arduino-ide
calibre
tor
tshark
freecad-wayland

View File

@ -19,6 +19,7 @@ in
file
vim
fastfetch
lf
];
};
}

View File

@ -18,6 +18,8 @@
./vpn
./utilities
./flatpak
./ide
./ebook
];
# Timzone and locales (same for all machines so I put it here)

View File

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

View File

@ -0,0 +1,6 @@
{ lib, config, pkgs, ... }:
{
imports = [
./calibre.nix
];
}

View File

@ -39,6 +39,8 @@ in
dev.enable = true;
gaming.enable = true;
};
arduino.enable = true;
calibre.enable = true;
};
};
}

View File

@ -37,6 +37,8 @@ in
dev.enable = true;
media.enable = true;
};
arduino.enable = true;
calibre.enable = true;
};
services.logind.lidSwitch = "ignore";
};

View File

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

View File

@ -0,0 +1,6 @@
{ lib, config, pkgs, ... }:
{
imports = [
./arduino.nix
];
}