change how we enable things
This commit is contained in:
parent
471bcb8d7f
commit
6caed74075
@ -100,8 +100,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
flatpak.enable = true;
|
|
||||||
|
|
||||||
### UNFREE PACKAGES
|
### UNFREE PACKAGES
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
@ -126,11 +124,6 @@
|
|||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
};
|
};
|
||||||
|
|
||||||
### DEV
|
|
||||||
devtools.postgres.enable = true;
|
|
||||||
devtools.virtualisation.enable = true;
|
|
||||||
devtools.docker.enable = true;
|
|
||||||
|
|
||||||
### HOME MANAGER
|
### HOME MANAGER
|
||||||
home-manager = {
|
home-manager = {
|
||||||
extraSpecialArgs = { inherit inputs; };
|
extraSpecialArgs = { inherit inputs; };
|
||||||
|
@ -7,11 +7,11 @@ in
|
|||||||
{
|
{
|
||||||
options.deWm = {
|
options.deWm = {
|
||||||
cinnamon.enable = mkOption {
|
cinnamon.enable = mkOption {
|
||||||
default = false;
|
default = true; ## at least one of them has to be enabled
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
};
|
};
|
||||||
xfce.enable = mkOption {
|
xfce.enable = mkOption {
|
||||||
default = false;
|
default = true;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -7,15 +7,15 @@ in
|
|||||||
{
|
{
|
||||||
options.devtools = {
|
options.devtools = {
|
||||||
postgres.enable = mkOption {
|
postgres.enable = mkOption {
|
||||||
default = false;
|
default = true;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
};
|
};
|
||||||
virtualisation.enable = mkOption {
|
virtualisation.enable = mkOption {
|
||||||
default = false;
|
default = true;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
};
|
};
|
||||||
docker.enable = mkOption {
|
docker.enable = mkOption {
|
||||||
default = false;
|
default = true;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -6,7 +6,7 @@ in
|
|||||||
{
|
{
|
||||||
options.flatpak = {
|
options.flatpak = {
|
||||||
enable = lib.mkOption {
|
enable = lib.mkOption {
|
||||||
default = false;
|
default = true;
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -8,19 +8,19 @@ in
|
|||||||
|
|
||||||
options.docs = {
|
options.docs = {
|
||||||
zathura.enable = lib.mkOption {
|
zathura.enable = lib.mkOption {
|
||||||
default = false;
|
default = true;
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
};
|
};
|
||||||
sioyek.enable = lib.mkOption {
|
sioyek.enable = lib.mkOption {
|
||||||
default = false;
|
default = true;
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
};
|
};
|
||||||
libreoffice.enable = lib.mkOption {
|
libreoffice.enable = lib.mkOption {
|
||||||
default = false;
|
default = true;
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
};
|
};
|
||||||
foliate.enable = lib.mkOption {
|
foliate.enable = lib.mkOption {
|
||||||
default = false;
|
default = true;
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -14,19 +14,19 @@ in
|
|||||||
|
|
||||||
options.editors = {
|
options.editors = {
|
||||||
emacs.enable = mkOption {
|
emacs.enable = mkOption {
|
||||||
default = false;
|
default = true;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
};
|
};
|
||||||
neovim.enable = mkOption {
|
neovim.enable = mkOption {
|
||||||
default = false;
|
default = true;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
};
|
};
|
||||||
zed.enable = mkOption {
|
zed.enable = mkOption {
|
||||||
default = false;
|
default = true;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
};
|
};
|
||||||
vscode.enable = mkOption {
|
vscode.enable = mkOption {
|
||||||
default = false;
|
default = true;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -55,38 +55,6 @@
|
|||||||
### SESSION ENV
|
### SESSION ENV
|
||||||
home.sessionPath = [ "$HOME/.local/bin" ];
|
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.vesktop.enable = true;
|
||||||
|
|
||||||
programs.gpg = {
|
programs.gpg = {
|
||||||
|
@ -8,22 +8,22 @@ in
|
|||||||
{
|
{
|
||||||
options.music = {
|
options.music = {
|
||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
default = false;
|
default = true;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
description = ''Enables MPD server'';
|
description = ''Enables MPD server'';
|
||||||
};
|
};
|
||||||
directory = mkOption {
|
directory = mkOption {
|
||||||
default = "~/Music";
|
default = "/ar1/Music";
|
||||||
type = types.str;
|
type = types.str;
|
||||||
description = ''Path to your music directory'';
|
description = ''Path to your music directory'';
|
||||||
};
|
};
|
||||||
ncmpcpp.enable = mkOption {
|
ncmpcpp.enable = mkOption {
|
||||||
default = false;
|
default = true;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
description = ''Enables NCMPCPP (MPD Client)'';
|
description = ''Enables NCMPCPP (MPD Client)'';
|
||||||
};
|
};
|
||||||
rmpc.enable = mkOption {
|
rmpc.enable = mkOption {
|
||||||
default = false;
|
default = true;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
description = ''
|
description = ''
|
||||||
Enables RMPC (Rusty Music Player Client) (another MPD Client)
|
Enables RMPC (Rusty Music Player Client) (another MPD Client)
|
||||||
|
@ -12,15 +12,15 @@ in
|
|||||||
|
|
||||||
options.terminals = {
|
options.terminals = {
|
||||||
ghostty.enable = mkOption {
|
ghostty.enable = mkOption {
|
||||||
default = false;
|
default = true;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
};
|
};
|
||||||
alacritty.enable = mkOption {
|
alacritty.enable = mkOption {
|
||||||
default = false;
|
default = true;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
};
|
};
|
||||||
xfceTerminal.enable = mkOption {
|
xfceTerminal.enable = mkOption {
|
||||||
default = false;
|
default = true;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -8,11 +8,11 @@ in
|
|||||||
imports = [ ./subs/tmux.nix ];
|
imports = [ ./subs/tmux.nix ];
|
||||||
options.termtools = {
|
options.termtools = {
|
||||||
tmux.enable = mkOption {
|
tmux.enable = mkOption {
|
||||||
default = false;
|
default = true;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
};
|
};
|
||||||
zoxide.enable = mkOption {
|
zoxide.enable = mkOption {
|
||||||
default = false;
|
default = true;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -8,15 +8,15 @@ in
|
|||||||
|
|
||||||
options.utils = {
|
options.utils = {
|
||||||
rofi.enable = lib.mkOption {
|
rofi.enable = lib.mkOption {
|
||||||
default = false;
|
default = true;
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
};
|
};
|
||||||
sxhkd.enable = lib.mkOption {
|
sxhkd.enable = lib.mkOption {
|
||||||
default = false;
|
default = true;
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
};
|
};
|
||||||
flameshot.enable = lib.mkOption {
|
flameshot.enable = lib.mkOption {
|
||||||
default = false;
|
default = true;
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user