More home-manager management
This commit is contained in:
parent
10df2301e1
commit
f720df9e46
8 changed files with 61 additions and 50 deletions
|
@ -33,6 +33,10 @@
|
||||||
"/vendor/bundle"
|
"/vendor/bundle"
|
||||||
"**/*.patch"
|
"**/*.patch"
|
||||||
];
|
];
|
||||||
|
signing = {
|
||||||
|
key = "charlotte@vanpetegem.me";
|
||||||
|
signByDefault = true;
|
||||||
|
};
|
||||||
userEmail = config.custom.git.email;
|
userEmail = config.custom.git.email;
|
||||||
userName = "Charlotte Van Petegem";
|
userName = "Charlotte Van Petegem";
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,45 +2,38 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
home-manager.users.charlotte = { pkgs, ... }: {
|
home-manager.users.charlotte = { pkgs, ... }: {
|
||||||
home.packages = [ pkgs.kitty ];
|
programs.kitty = {
|
||||||
xdg.configFile."kitty/kitty.conf".text = ''
|
enable = true;
|
||||||
font_family Fira Code
|
settings = {
|
||||||
font_size 9.0
|
font_family = "Fira Code";
|
||||||
disable_ligatures cursor
|
font_size = 9;
|
||||||
|
disable_ligatures = "cursor";
|
||||||
background #fbffff
|
background = "#fbffff";
|
||||||
foreground #535c65
|
foreground = "#535c65";
|
||||||
selection_background #6d7782
|
selection_background = "#6d7782";
|
||||||
selection_foreground #fbffff
|
selection_foreground = "#fbffff";
|
||||||
url_color #906c33
|
url_color = "#906c33";
|
||||||
cursor #434951
|
cursor = "#434951";
|
||||||
|
color0 = "#fbffff";
|
||||||
# normal
|
color1 = "#ae5865";
|
||||||
color0 #fbffff
|
color2 = "#4d7f43";
|
||||||
color1 #ae5865
|
color3 = "#906c33";
|
||||||
color2 #4d7f43
|
color4 = "#2b7ab2";
|
||||||
color3 #906c33
|
color5 = "#8f63a2";
|
||||||
color4 #2b7ab2
|
color6 = "#008483";
|
||||||
color5 #8f63a2
|
color7 = "#535c65";
|
||||||
color6 #008483
|
color8 = "#6d7782";
|
||||||
color7 #535c65
|
color9 = "#ae5865";
|
||||||
|
color10 = "#4d7f43";
|
||||||
# bright
|
color11 = "#906c33";
|
||||||
color8 #6d7782
|
color12 = "#2b7ab2";
|
||||||
color9 #ae5865
|
color13 = "#8f63a2";
|
||||||
color10 #4d7f43
|
color14 = "#008483";
|
||||||
color11 #906c33
|
color15 = "#434951";
|
||||||
color12 #2b7ab2
|
enable_audio_bell = false;
|
||||||
color13 #8f63a2
|
visual_bell_duration = "0.25";
|
||||||
color14 #008483
|
remember_window_size = false;
|
||||||
color15 #434951
|
};
|
||||||
|
};
|
||||||
enable_audio_bell no
|
|
||||||
visual_bell_duration 0.25
|
|
||||||
|
|
||||||
remember_window_size no
|
|
||||||
initial_window_width 1280
|
|
||||||
initial_window_width 720
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,6 +30,7 @@ in
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager.users.charlotte = { pkgs, ... }: {
|
home-manager.users.charlotte = { pkgs, ... }: {
|
||||||
|
home.sessionVariables = { EDITOR = "nvim"; };
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
|
@ -6,6 +6,10 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager.users.charlotte = { pkgs, ... }: {
|
home-manager.users.charlotte = { pkgs, ... }: {
|
||||||
home.packages = [ pkgs.pass ];
|
programs.password-store = {
|
||||||
|
enable = true;
|
||||||
|
settings = { PASSWORD_STORE_DIR = "$HOME/repos/passwords"; };
|
||||||
|
};
|
||||||
|
services.password-store-sync.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,12 @@ in
|
||||||
{
|
{
|
||||||
services.dbus.packages = with pkgs; [ gnome3.dconf ];
|
services.dbus.packages = with pkgs; [ gnome3.dconf ];
|
||||||
home-manager.users.charlotte = { pkgs, lib, ... }: {
|
home-manager.users.charlotte = { pkgs, lib, ... }: {
|
||||||
home.packages = [ color-picker launcher screenshot ];
|
home.packages = [ color-picker screenshot ];
|
||||||
|
programs.mako = {
|
||||||
|
enable = true;
|
||||||
|
font = "Fira Code Normal 9";
|
||||||
|
layer = "overlay";
|
||||||
|
};
|
||||||
services.kanshi = {
|
services.kanshi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
profiles = {
|
profiles = {
|
||||||
|
@ -67,7 +72,6 @@ in
|
||||||
];
|
];
|
||||||
startup = [
|
startup = [
|
||||||
{ command = "${pkgs.swayidle}/bin/swayidle -w timeout 300 '${pkgs.swaylock}/bin/swaylock -f -c 000000' timeout 150 '${pkgs.sway}/bin/swaymsg \"output * dpms off\"' resume '${pkgs.sway}/bin/swaymsg \"output * dpms on\"' before-sleep '${pkgs.swaylock}/bin/swaylock -f -c 000000'"; }
|
{ command = "${pkgs.swayidle}/bin/swayidle -w timeout 300 '${pkgs.swaylock}/bin/swaylock -f -c 000000' timeout 150 '${pkgs.sway}/bin/swaymsg \"output * dpms off\"' resume '${pkgs.sway}/bin/swaymsg \"output * dpms on\"' before-sleep '${pkgs.swaylock}/bin/swaylock -f -c 000000'"; }
|
||||||
{ command = "${pkgs.mako}/bin/mako"; }
|
|
||||||
];
|
];
|
||||||
window.commands = [
|
window.commands = [
|
||||||
{ command = "floating enable"; criteria = { app_id = "launcher"; }; }
|
{ command = "floating enable"; criteria = { app_id = "launcher"; }; }
|
||||||
|
@ -77,10 +81,12 @@ in
|
||||||
"type:keyboard" = { xkb_layout = "us"; xkb_variant = "altgr-intl"; xkb_numlock = "enabled"; };
|
"type:keyboard" = { xkb_layout = "us"; xkb_variant = "altgr-intl"; xkb_numlock = "enabled"; };
|
||||||
"type:touchpad" = { drag = "enabled"; dwt = "enabled"; scroll_method = "two_finger"; tap = "enabled"; };
|
"type:touchpad" = { drag = "enabled"; dwt = "enabled"; scroll_method = "two_finger"; tap = "enabled"; };
|
||||||
};
|
};
|
||||||
|
modes = {}; # Unset default "resize" mode
|
||||||
keybindings = lib.mkOptionDefault {
|
keybindings = lib.mkOptionDefault {
|
||||||
|
"${modifier}+Shift+q" = "nop Unset default kill";
|
||||||
|
"${modifier}+r" = "nop Unset default resize mode";
|
||||||
"${modifier}+Shift+c" = "kill";
|
"${modifier}+Shift+c" = "kill";
|
||||||
"${modifier}+Shift+r" = "reload";
|
"${modifier}+Shift+r" = "reload";
|
||||||
"${modifier}+Shift+q" = "noop";
|
|
||||||
"${modifier}+c" = "exec ${pkgs.swaylock}/bin/swaylock -f -c 000000";
|
"${modifier}+c" = "exec ${pkgs.swaylock}/bin/swaylock -f -c 000000";
|
||||||
"${modifier}+i" = "inhibit_idle open; border normal; mark --add inhibiting_idle";
|
"${modifier}+i" = "inhibit_idle open; border normal; mark --add inhibiting_idle";
|
||||||
"${modifier}+Shift+i" = "inhibit_idle none; border pixel; unmark inhibiting_idle";
|
"${modifier}+Shift+i" = "inhibit_idle none; border pixel; unmark inhibiting_idle";
|
||||||
|
|
|
@ -6,6 +6,9 @@
|
||||||
{ path = "sync"; type = "data"; }
|
{ path = "sync"; type = "data"; }
|
||||||
];
|
];
|
||||||
home-manager.users.charlotte = { pkgs, ... }: {
|
home-manager.users.charlotte = { pkgs, ... }: {
|
||||||
services.syncthing.enable = true;
|
services.syncthing = {
|
||||||
|
enable = true;
|
||||||
|
tray = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,11 +45,7 @@
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
sessionVariables = {
|
sessionVariables = { DEFAULT_USER = "charlotte"; };
|
||||||
DEFAULT_USER = "charlotte";
|
|
||||||
EDITOR = "nvim";
|
|
||||||
PASSWORD_STORE_DIR = "$HOME/repos/passwords";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,4 +9,8 @@
|
||||||
services.blueman.enable = true;
|
services.blueman.enable = true;
|
||||||
hardware.pulseaudio.extraModules = [ pkgs.pulseaudio-modules-bt ];
|
hardware.pulseaudio.extraModules = [ pkgs.pulseaudio-modules-bt ];
|
||||||
hardware.pulseaudio.package = pkgs.pulseaudioFull;
|
hardware.pulseaudio.package = pkgs.pulseaudioFull;
|
||||||
|
|
||||||
|
home-manager.users.charlotte = { ... }: {
|
||||||
|
services.blueman-applet.enable = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue