Probably tons of breakage

This commit is contained in:
iFargle 2023-08-31 20:55:14 +09:00
parent 26779d9142
commit 7d7ed8dfd4
19 changed files with 36 additions and 24 deletions

View file

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View file

@ -70,22 +70,22 @@
} }
#lock { #lock {
background-image: url("/etc/nixos/git/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/wlogout/lock.png"); background-image: url("/etc/nixos/git/home-manager/desktops/hyprland/_default/wlogout/lock.png");
} }
#logout { #logout {
background-image: url("/etc/nixos/git/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/wlogout/logout.png"); background-image: url("/etc/nixos/git/home-manager/desktops/hyprland/_default/wlogout/logout.png");
} }
#suspend { #suspend {
background-image: url("/etc/nixos/git/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/wlogout/suspend.png"); background-image: url("/etc/nixos/git/home-manager/desktops/hyprland/_default/wlogout/suspend.png");
} }
#hibernate { #hibernate {
background-image: url("/etc/nixos/git/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/wlogout/hibernate.png"); background-image: url("/etc/nixos/git/home-manager/desktops/hyprland/_default/wlogout/hibernate.png");
} }
#shutdown { #shutdown {
background-image: url("/etc/nixos/git/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/wlogout/shutdown.png"); background-image: url("/etc/nixos/git/home-manager/desktops/hyprland/_default/wlogout/shutdown.png");
} }
#reboot { #reboot {
background-image: url("/etc/nixos/git/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/wlogout/reboot.png"); background-image: url("/etc/nixos/git/home-manager/desktops/hyprland/_default/wlogout/reboot.png");
} }
''; '';
}; };

View file

@ -0,0 +1,13 @@
{ theme, hostname, ... }: {
imports = [
./bash.nix
./doom-emacs.nix
./git.nix
./kitty.nix
./neofetch.nix
./neovim.nix
./ranger.nix
./${theme}/btop.nix
];
}

View file

@ -1,7 +1,7 @@
{ pkgs, ... }: { { theme, pkgs, ... }: {
programs.doom-emacs = { programs.doom-emacs = {
enable = true; enable = true;
doomPrivateDir = ./doom-emacs.d; doomPrivateDir = ./${theme}/doom-emacs.d;
}; };
programs.ripgrep.enable = true; programs.ripgrep.enable = true;

View file

@ -1,9 +1,9 @@
{ config, pkgs, ... }: { { theme, ... }: {
# Kitty Conf # Kitty Conf
# https://sw.kovidgoyal.net/kitty/conf/ # https://sw.kovidgoyal.net/kitty/conf/
# Theme # Theme
imports = [ ./gruvbox/kitty-theme.nix ]; imports = [ ./${theme}/kitty-theme.nix ];
home.file.".config/kitty/kitty.conf".text = '' home.file.".config/kitty/kitty.conf".text = ''
sync_to_monitor yes sync_to_monitor yes

View file

@ -42,6 +42,12 @@
updateInterval = 24 * 60 * 60 * 1000; # every day updateInterval = 24 * 60 * 60 * 1000; # every day
definedAliases = [ "@nw" ]; definedAliases = [ "@nw" ];
}; };
"Home Manager Options" = {
urls = [{ template = "https://mipmip.github.io/home-manager-option-search/?query={searchTerms}" }];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@hm" ];
};
}; };
}; };
}; };

View file

@ -14,15 +14,8 @@
}; };
imports = [ imports = [
# Common app configs - Will apply to all users managed by home-manager # Common configs
./common/software/cli/bash.nix ./common/software/cli
./common/software/cli/btop.nix
./common/software/cli/git.nix
./common/software/cli/kitty.nix
./common/software/cli/neofetch.nix
./common/software/cli/neovim.nix
./common/software/cli/doom-emacs.nix
./common/software/cli/ranger.nix
# User configs # User configs
./users/${username} ./users/${username}

View file

@ -1,4 +1,4 @@
{ hostname, ... }: { { theme, ... }: {
home.file = { home.file = {
".config/hypr/hyprland.conf" = { ".config/hypr/hyprland.conf" = {
enable = true; enable = true;
@ -254,8 +254,8 @@
# Set the wallpaper # Set the wallpaper
swww init & swww init &
WALLPAPER_DIR=/etc/nixos/git/wallpapers/gruvbox WALLPAPER_DIR=/etc/nixos/git/wallpapers/${theme}
swww img $WALLPAPER_DIR/wallpaper9.jpg & swww img $WALLPAPER_DIR/`ls $WALLPAPER_DIR | shuf -n 1` &
# Waybar # Waybar
waybar & waybar &

View file

@ -1,4 +1,4 @@
{ hostname, ...}: { { ...}: {
imports = [ ./scripts/waybar-scripts.nix ]; imports = [ ./scripts/waybar-scripts.nix ];
home.file = { home.file = {
@ -142,9 +142,9 @@
"format-icons": ["", "", "", "", ""] "format-icons": ["", "", "", "", ""]
}, },
} }
''; '';
}; };
# Waybar theming # Waybar theming
".config/waybar/style.css" = { ".config/waybar/style.css" = {
enable = true; enable = true;