mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 15:11:54 -05:00
home: improved reproducibility with nixpkgs calls rather than $PATH searches
This commit is contained in:
parent
a07c9ffe2c
commit
5babaf7a11
|
@ -1,6 +1,6 @@
|
|||
preload = ~/.config/hypr/wallpapers/jr-korpa-9XngoIpxcEo-unsplash.jpg
|
||||
preload = ~/.config/hypr/wallpapers/salty-justice-NOMebOREvtc-unsplash.jpg
|
||||
preload = ~/.config/hypr/wallpapers/tokyoGreen.jpg
|
||||
# preload = ~/.config/hypr/wallpapers/salty-justice-NOMebOREvtc-unsplash.jpg
|
||||
# preload = ~/.config/hypr/wallpapers/tokyoGreen.jpg
|
||||
|
||||
wallpaper = ,~/.config/hypr/wallpapers/jr-korpa-9XngoIpxcEo-unsplash.jpg
|
||||
|
||||
|
|
|
@ -3,6 +3,15 @@
|
|||
options = { guiApps.fuzzel.enable = lib.mkEnableOption "Enables fuzzel."; };
|
||||
|
||||
config = lib.mkIf config.guiApps.fuzzel.enable {
|
||||
|
||||
home.packages = with pkgs; [
|
||||
(nerdfonts.override { fonts = [ "Noto" ]; })
|
||||
(catppuccin-papirus-folders.override {
|
||||
flavor = "frappe";
|
||||
accent = "mauve";
|
||||
})
|
||||
];
|
||||
|
||||
programs.fuzzel = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
@ -19,6 +28,7 @@
|
|||
selection-match = "#e78284FF";
|
||||
selection-text = "#f4b8e4FF";
|
||||
text = "#fafafaFF";
|
||||
border = "#ca9ee6aa";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
options = { guiApps.mako.enable = lib.mkEnableOption "Enables mako."; };
|
||||
|
||||
config = lib.mkIf config.guiApps.mako.enable {
|
||||
|
||||
home.packages = with pkgs; [ (nerdfonts.override { fonts = [ "Noto" ]; }) ];
|
||||
|
||||
services.mako = {
|
||||
enable = true;
|
||||
anchor = "top-center";
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
"files.autoSave" = "afterDelay";
|
||||
"git.autofetch" = true;
|
||||
"git.confirmSync" = false;
|
||||
"nix.formatterPath" = "nixfmt";
|
||||
"terminal.external.linuxExec" = "alacritty";
|
||||
"nix.formatterPath" = "${pkgs.nixfmt}/bin/nixfmt";
|
||||
"terminal.external.linuxExec" = "${pkgs.alacritty}/bin/alacritty";
|
||||
"update.mode" = "none";
|
||||
"window.menuBarVisibility" = "hidden";
|
||||
"window.zoomPerWindow" = false;
|
||||
|
|
|
@ -4,7 +4,12 @@
|
|||
|
||||
config = lib.mkIf config.guiApps.waybar.enable {
|
||||
# Packages that should be installed to the user profile.
|
||||
home.packages = with pkgs; [ blueberry pavucontrol ];
|
||||
home.packages = with pkgs; [
|
||||
blueberry
|
||||
pavucontrol
|
||||
(nerdfonts.override { fonts = [ "Noto" ]; })
|
||||
nixfmt
|
||||
];
|
||||
|
||||
xdg.configFile."waybar/style.css".source = ./waybar.css;
|
||||
|
||||
|
@ -57,7 +62,7 @@
|
|||
{device_enumerate}'';
|
||||
"tooltip-format-enumerate-connected" =
|
||||
"{device_alias} {device_address}";
|
||||
"on-click" = "blueberry";
|
||||
"on-click" = "${pkgs.blueberry}/bin/blueberry";
|
||||
};
|
||||
"pulseaudio" = {
|
||||
"format" = " {volume}%";
|
||||
|
@ -68,7 +73,7 @@
|
|||
"handsfree" = "";
|
||||
"headset" = "";
|
||||
};
|
||||
"on-click" = "pavucontrol -t 3";
|
||||
"on-click" = "${pkgs.pavucontrol}/bin/pavucontrol -t 3";
|
||||
};
|
||||
"network" = {
|
||||
"format-wifi" = " {signalStrength}%";
|
||||
|
@ -78,7 +83,8 @@
|
|||
"tooltip-format-wifi" = "{essid} ({signalStrength}%) ";
|
||||
"tooltip-format-ethernet" = "{ifname} ";
|
||||
"tooltip-format-disconnected" = "Disconnected";
|
||||
"on-click" = "alacritty --class nmtui -e nmtui";
|
||||
"on-click" =
|
||||
"${pkgs.alacritty}/bin/alacritty --class nmtui -e ${pkgs.networkmanager}/bin/nmtui";
|
||||
};
|
||||
"tray" = { "spacing" = 10; };
|
||||
"power-profiles-daemon" = {
|
||||
|
|
|
@ -5,26 +5,41 @@
|
|||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: rgba (35, 38, 52, 0.8);
|
||||
color: #FAFAFA;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0px 5px;
|
||||
margin: 0 0px;
|
||||
color: #FAFAFA;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: #ca9ee6;
|
||||
}
|
||||
#clock, #battery, #bluetooth, #network, #power-profiles-daemon, #pulseaudio, #tray {
|
||||
|
||||
#clock,
|
||||
#battery,
|
||||
#bluetooth,
|
||||
#network,
|
||||
#power-profiles-daemon,
|
||||
#pulseaudio,
|
||||
#tray {
|
||||
padding: 0 10px;
|
||||
margin: 0 5px;
|
||||
}
|
||||
#battery { color: #FAFAFA; }
|
||||
|
||||
#battery {
|
||||
color: #FAFAFA;
|
||||
}
|
||||
|
||||
#battery.charging {
|
||||
color: #ca9ee6;
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
color: #e78284;
|
||||
}
|
|
@ -8,19 +8,19 @@
|
|||
layout = [
|
||||
{
|
||||
label = "logout";
|
||||
action = "loginctl terminate-user $USER";
|
||||
action = "${pkgs.systemd}/bin/loginctl terminate-user $USER";
|
||||
text = "Logout";
|
||||
keybind = "e";
|
||||
}
|
||||
{
|
||||
label = "shutdown";
|
||||
action = "systemctl poweroff";
|
||||
action = "${pkgs.systemd}/bin/systemctl poweroff";
|
||||
text = "Shutdown";
|
||||
keybind = "s";
|
||||
}
|
||||
{
|
||||
label = "reboot";
|
||||
action = "systemctl reboot";
|
||||
action = "${pkgs.systemd}/bin/systemctl reboot";
|
||||
text = "Reboot";
|
||||
keybind = "r";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue