change how we enable things

This commit is contained in:
datsudo 2025-06-02 22:28:14 +08:00
parent 471bcb8d7f
commit 6caed74075
11 changed files with 26 additions and 65 deletions

View File

@ -100,8 +100,6 @@
};
};
flatpak.enable = true;
### UNFREE PACKAGES
nixpkgs.config.allowUnfree = true;
@ -126,11 +124,6 @@
EDITOR = "nvim";
};
### DEV
devtools.postgres.enable = true;
devtools.virtualisation.enable = true;
devtools.docker.enable = true;
### HOME MANAGER
home-manager = {
extraSpecialArgs = { inherit inputs; };

View File

@ -7,11 +7,11 @@ in
{
options.deWm = {
cinnamon.enable = mkOption {
default = false;
default = true; ## at least one of them has to be enabled
type = types.bool;
};
xfce.enable = mkOption {
default = false;
default = true;
type = types.bool;
};
};

View File

@ -7,15 +7,15 @@ in
{
options.devtools = {
postgres.enable = mkOption {
default = false;
default = true;
type = types.bool;
};
virtualisation.enable = mkOption {
default = false;
default = true;
type = types.bool;
};
docker.enable = mkOption {
default = false;
default = true;
type = types.bool;
};
};

View File

@ -6,7 +6,7 @@ in
{
options.flatpak = {
enable = lib.mkOption {
default = false;
default = true;
type = lib.types.bool;
};
};

View File

@ -8,19 +8,19 @@ in
options.docs = {
zathura.enable = lib.mkOption {
default = false;
default = true;
type = lib.types.bool;
};
sioyek.enable = lib.mkOption {
default = false;
default = true;
type = lib.types.bool;
};
libreoffice.enable = lib.mkOption {
default = false;
default = true;
type = lib.types.bool;
};
foliate.enable = lib.mkOption {
default = false;
default = true;
type = lib.types.bool;
};
};

View File

@ -14,19 +14,19 @@ in
options.editors = {
emacs.enable = mkOption {
default = false;
default = true;
type = types.bool;
};
neovim.enable = mkOption {
default = false;
default = true;
type = types.bool;
};
zed.enable = mkOption {
default = false;
default = true;
type = types.bool;
};
vscode.enable = mkOption {
default = false;
default = true;
type = types.bool;
};
};

View File

@ -55,38 +55,6 @@
### SESSION ENV
home.sessionPath = [ "$HOME/.local/bin" ];
music = {
enable = true;
directory = "/ar1/Music";
ncmpcpp.enable = true;
rmpc.enable = true;
};
editors = {
neovim.enable = true;
emacs.enable = true;
vscode.enable = false;
zed.enable = true;
};
terminals.ghostty.enable = true;
terminals.alacritty.enable = true;
terminals.xfceTerminal.enable = true;
shells.fish.enable = false;
termtools.tmux.enable = true;
termtools.zoxide.enable = true;
docs.zathura.enable = true;
docs.sioyek.enable = true;
docs.libreoffice.enable = true;
docs.foliate.enable = true;
utils.rofi.enable = true;
utils.sxhkd.enable = true;
utils.flameshot.enable = true;
programs.vesktop.enable = true;
programs.gpg = {

View File

@ -8,22 +8,22 @@ in
{
options.music = {
enable = mkOption {
default = false;
default = true;
type = types.bool;
description = ''Enables MPD server'';
};
directory = mkOption {
default = "~/Music";
default = "/ar1/Music";
type = types.str;
description = ''Path to your music directory'';
};
ncmpcpp.enable = mkOption {
default = false;
default = true;
type = types.bool;
description = ''Enables NCMPCPP (MPD Client)'';
};
rmpc.enable = mkOption {
default = false;
default = true;
type = types.bool;
description = ''
Enables RMPC (Rusty Music Player Client) (another MPD Client)

View File

@ -12,15 +12,15 @@ in
options.terminals = {
ghostty.enable = mkOption {
default = false;
default = true;
type = types.bool;
};
alacritty.enable = mkOption {
default = false;
default = true;
type = types.bool;
};
xfceTerminal.enable = mkOption {
default = false;
default = true;
type = types.bool;
};
};

View File

@ -8,11 +8,11 @@ in
imports = [ ./subs/tmux.nix ];
options.termtools = {
tmux.enable = mkOption {
default = false;
default = true;
type = types.bool;
};
zoxide.enable = mkOption {
default = false;
default = true;
type = types.bool;
};
};

View File

@ -8,15 +8,15 @@ in
options.utils = {
rofi.enable = lib.mkOption {
default = false;
default = true;
type = lib.types.bool;
};
sxhkd.enable = lib.mkOption {
default = false;
default = true;
type = lib.types.bool;
};
flameshot.enable = lib.mkOption {
default = false;
default = true;
type = lib.types.bool;
};
};