Compare commits
1 commit
995b085d82
...
3e2ccceace
Author | SHA1 | Date | |
---|---|---|---|
Fabian Montero | 3e2ccceace |
|
@ -13,28 +13,18 @@ in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
xdg.enable = true;
|
xdg.enable = true;
|
||||||
|
|
||||||
home = {
|
home.packages = with pkgs; [
|
||||||
packages = with pkgs; [
|
calc
|
||||||
calc
|
file
|
||||||
file
|
git
|
||||||
git
|
htop
|
||||||
htop
|
killall
|
||||||
killall
|
man-pages
|
||||||
man-pages
|
man-pages-posix
|
||||||
man-pages-posix
|
tree
|
||||||
tree
|
units
|
||||||
units
|
unzip
|
||||||
unzip
|
zip
|
||||||
vim
|
];
|
||||||
zip
|
|
||||||
];
|
|
||||||
};
|
|
||||||
keyboard = {
|
|
||||||
layout = "us";
|
|
||||||
variant = "altgr-intl";
|
|
||||||
};
|
|
||||||
sessionVariables = {
|
|
||||||
"EDITOR" = mkDefault "vim";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,12 +18,8 @@ in {
|
||||||
mapAttrs (
|
mapAttrs (
|
||||||
monitorId:
|
monitorId:
|
||||||
filterAttrs
|
filterAttrs
|
||||||
(k: v:
|
(k: v: !elem k [ #list of options to exclude from this list
|
||||||
!elem k [
|
"fingerprint" "initialI3Workspace" "monitorId"
|
||||||
#list of options to exclude from this list
|
|
||||||
"fingerprint"
|
|
||||||
"initialI3Workspace"
|
|
||||||
"monitorId"
|
|
||||||
])
|
])
|
||||||
)
|
)
|
||||||
cfg.monitors;
|
cfg.monitors;
|
||||||
|
|
|
@ -51,8 +51,7 @@ with lib; let
|
||||||
example = 1;
|
example = 1;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
config = optionalAttrs setName {
|
config = optionalAttrs (setName) { # make this better later
|
||||||
# make this better later
|
|
||||||
monitorId = name;
|
monitorId = name;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
|
@ -82,8 +82,7 @@ with lib; {
|
||||||
|
|
||||||
"bar/secondary" = {
|
"bar/secondary" = {
|
||||||
monitor = head (attrNames (filterAttrs (monitorId: v:
|
monitor = head (attrNames (filterAttrs (monitorId: v:
|
||||||
!v.primary)
|
!v.primary) config.local.gui.monitors)); # this is bad. will fail if more than 2 monitors. this sets all monitors other than the primary one for this bar.
|
||||||
config.local.gui.monitors)); # this is bad. will fail if more than 2 monitors. this sets all monitors other than the primary one for this bar.
|
|
||||||
"inherit" = "bar/main";
|
"inherit" = "bar/main";
|
||||||
|
|
||||||
modules-left = "i3";
|
modules-left = "i3";
|
||||||
|
|
|
@ -44,8 +44,5 @@ in {
|
||||||
vim-multiple-cursors
|
vim-multiple-cursors
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
home.sessionVariables = {
|
|
||||||
"EDITOR" = "neovim";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,8 +48,13 @@
|
||||||
username = "fabian";
|
username = "fabian";
|
||||||
homeDirectory = "/home/fabian";
|
homeDirectory = "/home/fabian";
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
|
"EDITOR" = "nvim";
|
||||||
"TERMINAL" = "kitty";
|
"TERMINAL" = "kitty";
|
||||||
};
|
};
|
||||||
|
keyboard = {
|
||||||
|
layout = "us";
|
||||||
|
variant = "altgr-intl";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue