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 {
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 {
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 {
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 {
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 {
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 {
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 = {
enable = true;
doomPrivateDir = ./doom-emacs.d;
doomPrivateDir = ./${theme}/doom-emacs.d;
};
programs.ripgrep.enable = true;

View file

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

View file

@ -42,6 +42,12 @@
updateInterval = 24 * 60 * 60 * 1000; # every day
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 = [
# Common app configs - Will apply to all users managed by home-manager
./common/software/cli/bash.nix
./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
# Common configs
./common/software/cli
# User configs
./users/${username}

View file

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

View file

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