change how we enable things
This commit is contained in:
parent
471bcb8d7f
commit
6caed74075
@ -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; };
|
||||
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
@ -6,7 +6,7 @@ in
|
||||
{
|
||||
options.flatpak = {
|
||||
enable = lib.mkOption {
|
||||
default = false;
|
||||
default = true;
|
||||
type = lib.types.bool;
|
||||
};
|
||||
};
|
||||
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
@ -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 = {
|
||||
|
@ -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)
|
||||
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user