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