hotfix de reestructuración

This commit is contained in:
Fabián Montero 2022-11-29 21:47:43 -06:00
parent b29950097c
commit 0bdad7bc4e
8 changed files with 18 additions and 14 deletions

View file

@ -9,10 +9,12 @@ in
imports = [ ./vscode ];
config = mkIf cfg.enable {
local.apps.editors.vscode = mkDefault true;
local.apps.editors.vscode.enable = mkDefault true;
neovim.enable = true;
helix.enable = true;
programs = {
neovim.enable = true;
helix.enable = true;
};
};
}

View file

@ -7,13 +7,13 @@ in
options.local.apps.editors.vscode.enable = mkEnableOption "VSCodium";
config = mkIf cfg.enable {
home.packages = [ rust-analyzer ];
home.packages = [ pkgs.rust-analyzer ];
programs.vscode = {
enable = true;
package = pkgs.vscodium;
mutableExtensionsDir = false;
extensions = attrValues (pkgs.callPackage ./extensions.nix {}).extensions;
userSettings = import ./settings.nix
userSettings = import ./settings.nix;
};
};
}

View file

@ -6,7 +6,7 @@ in {
config = mkIf cfg.enable {
home.packages = [
(pkgs.callPackage ./package.nix {})
protonup
pkgs.protonup
];
};
}

View file

@ -6,7 +6,6 @@ with lib;
(hm-isolation.homeManagerModule)
./apps
./allowUnfreeWhitelist.nix
./fonts.nix
./gui
./isolation.nix
./options.nix
@ -44,7 +43,7 @@ with lib;
local = {
apps.enable = mkDefault (!config.home.isolation.active);
gui = {
enable = mkDefault true;
desktop = mkDefault (!config.home.isolation.active);

View file

@ -6,7 +6,7 @@ in
{
options.local.gui = {
enable = mkEnableOption "GUI settings and programs";
desktop = mkEnableOption "i3 desktop envirorment"
desktop = mkEnableOption "i3 desktop envirorment";
};
imports = [

View file

@ -10,5 +10,5 @@ in
gruvbox-dark-icons-gtk
libsForQt5.breeze-gtk
];
}
};
}

View file

@ -51,8 +51,6 @@ in
"${mod}+Shift+s" = "exec ${pkgs.maim}/bin/maim -s -u | ${pkgs.xclip}/bin/xclip -selection clipboard -t image/png -i";
"${mod}+Shift+w" = "move workspace to output right";
};
# menu = "${pkgs.dmenu}/bin/dmenu_run"
startup = [
{
@ -82,6 +80,11 @@ in
notification = false;
always = true;
}
{
command = "${pkgs.autorandr}/bin/autorandr -c";
notification = false;
always = true;
}
];
workspaceOutputAssign = [

View file

@ -1,4 +1,4 @@
{maim, redshift, ...}: ''
{maim, redshift, xclip, ...}: ''
# The following lines were added by compinstall
zstyle ':completion:*' auto-description 'specify: %d'
@ -74,7 +74,7 @@
alias ls='ls --color -F'
alias l='ls --color -FhAltr'
alias x='killall --ignore-case --user=$(whoami) --interactive'
alias sc='${maim}/bin/maim -s -u | ${pkgs.xclip}/bin/xclip -selection clipboard -t image/png -i'
alias sc='${maim}/bin/maim -s -u | ${xclip}/bin/xclip -selection clipboard -t image/png -i'
alias tree='tree -CF'
alias lock="betterlockscreen -l"
alias nightmode="${redshift}/bin/redshift -P -O 1000"