Remove grub2-themes
This commit is contained in:
parent
de76d11ce6
commit
d04d3634a7
11 changed files with 23 additions and 61 deletions
21
flake.lock
generated
21
flake.lock
generated
|
|
@ -329,26 +329,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"grub2-themes": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1734412921,
|
|
||||||
"narHash": "sha256-JeMqc7lLowKn6klrCcOkcOg38yNqF7MPbN4Elh6Xvq0=",
|
|
||||||
"owner": "vinceliuice",
|
|
||||||
"repo": "grub2-themes",
|
|
||||||
"rev": "f6ab2438e124f60a340a526543e498e5e33b3c53",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "vinceliuice",
|
|
||||||
"repo": "grub2-themes",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"home-manager": {
|
"home-manager": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
|
@ -878,7 +858,6 @@
|
||||||
"darwin": "darwin_2",
|
"darwin": "darwin_2",
|
||||||
"disko": "disko",
|
"disko": "disko",
|
||||||
"docker-compose-1": "docker-compose-1",
|
"docker-compose-1": "docker-compose-1",
|
||||||
"grub2-themes": "grub2-themes",
|
|
||||||
"home-manager": "home-manager_2",
|
"home-manager": "home-manager_2",
|
||||||
"hypridle": "hypridle",
|
"hypridle": "hypridle",
|
||||||
"hyprland": "hyprland",
|
"hyprland": "hyprland",
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,6 @@
|
||||||
# Add modules only to specific hosts
|
# Add modules only to specific hosts
|
||||||
systems.hosts = with inputs; {
|
systems.hosts = with inputs; {
|
||||||
cobalt.modules = [
|
cobalt.modules = [
|
||||||
grub2-themes.nixosModules.default
|
|
||||||
disko.nixosModules.default
|
disko.nixosModules.default
|
||||||
];
|
];
|
||||||
mercury.modules = [
|
mercury.modules = [
|
||||||
|
|
@ -103,8 +102,5 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
docker-compose-1.url = github:nixos/nixpkgs/b0f0b5c6c021ebafbd322899aa9a54b87d75a313;
|
docker-compose-1.url = github:nixos/nixpkgs/b0f0b5c6c021ebafbd322899aa9a54b87d75a313;
|
||||||
|
|
||||||
grub2-themes.url = github:vinceliuice/grub2-themes;
|
|
||||||
grub2-themes.inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,18 +2,12 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
inputs,
|
||||||
...
|
...
|
||||||
}: let
|
}: {
|
||||||
#ruby = pkgs."ruby-2.5";
|
|
||||||
#bundler = pkgs.bundler.override { inherit ruby; };
|
|
||||||
in {
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# docker has to be installed globally because we have to enable virtualization
|
# docker has to be installed globally because we have to enable virtualization
|
||||||
inputs.docker-compose-1.legacyPackages."x86_64-linux".docker-compose
|
inputs.docker-compose-1.legacyPackages."x86_64-linux".docker-compose
|
||||||
|
|
||||||
# Ruby environment
|
ruby_3_2
|
||||||
# bundler
|
|
||||||
# ruby
|
|
||||||
bundix
|
|
||||||
|
|
||||||
# Dev environment specifics
|
# Dev environment specifics
|
||||||
libxcrypt # maklerportal-frontend-test-suite
|
libxcrypt # maklerportal-frontend-test-suite
|
||||||
|
|
|
||||||
|
|
@ -169,8 +169,7 @@ in {
|
||||||
|
|
||||||
windowrule = float, title:DevTools
|
windowrule = float, title:DevTools
|
||||||
|
|
||||||
# Should fix broken blur in Vivaldi
|
windowrule=nofocus,class:^jetbrains-(?!toolbox),floating:1,title:^win\d+$
|
||||||
windowrule=noblur,class:^()$,title:^()$
|
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||||
$mainMod = SUPER
|
$mainMod = SUPER
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
firefox
|
firefox
|
||||||
vivaldi
|
|
||||||
];
|
];
|
||||||
|
|
||||||
xdg.mimeApps = {
|
xdg.mimeApps = {
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
gnupg
|
gnupg
|
||||||
unzip
|
unzip
|
||||||
|
dua # Interactively view disk space usage
|
||||||
tldr # Quick man-page replacement
|
tldr # Quick man-page replacement
|
||||||
hyperfine # Terminal benchmarks
|
hyperfine # Terminal benchmarks
|
||||||
numbat # Scientific calculations
|
numbat # Scientific calculations
|
||||||
|
|
@ -16,7 +17,7 @@
|
||||||
bottom # System resource monitor
|
bottom # System resource monitor
|
||||||
|
|
||||||
# GUI
|
# GUI
|
||||||
# obsidian # Note taking
|
vcv-rack # Audio synthesizer/eurorack simulator
|
||||||
vlc # Video player
|
vlc # Video player
|
||||||
todoist-electron # Todo application
|
todoist-electron # Todo application
|
||||||
logseq # Knowledge Base
|
logseq # Knowledge Base
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,7 @@ in {
|
||||||
LESSKEY = "${conf}/less/lesskey";
|
LESSKEY = "${conf}/less/lesskey";
|
||||||
DIRENV_LOG_FORMAT = "";
|
DIRENV_LOG_FORMAT = "";
|
||||||
|
|
||||||
# BROWSER = "firefox";
|
BROWSER = "firefox";
|
||||||
BROWSER = "vivaldi";
|
|
||||||
TERMINAL = "kitty";
|
TERMINAL = "kitty";
|
||||||
EDITOR = "hx";
|
EDITOR = "hx";
|
||||||
TERM = "xterm-color";
|
TERM = "xterm-color";
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,19 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Function to open the default browser with a specified profile
|
||||||
|
open_browser() {
|
||||||
|
local profile="$1"
|
||||||
|
shift
|
||||||
|
firefox -P "$profile" "$@"
|
||||||
|
}
|
||||||
|
|
||||||
# Go up the parent chain of this process to determine if the link was clicked on
|
# Go up the parent chain of this process to determine if the link was clicked on
|
||||||
# in Slack. If so, open the `Work` profile on firefox.
|
# in Slack. If so, open the `Work` profile in the browser.
|
||||||
parent=$PPID
|
parent=$PPID
|
||||||
while [ "$parent" -ne 1 ]; do
|
while [ "$parent" -ne 1 ]; do
|
||||||
cmd=$(ps -o comm= -p "$parent")
|
cmd=$(ps -o comm= -p "$parent")
|
||||||
if [[ "$cmd" == "slack" ]]; then
|
if [[ "$cmd" == "slack" ]]; then
|
||||||
firefox -P 'Work' "$@"
|
open_browser "Work" "$@"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
parent=$(ps -o ppid= -p "$parent" | tail -n 1 | awk '{print $1}')
|
parent=$(ps -o ppid= -p "$parent" | tail -n 1 | awk '{print $1}')
|
||||||
|
|
@ -14,10 +21,8 @@ done
|
||||||
|
|
||||||
if [[ $1 == "https://github.com/hausgold"* ]]; then
|
if [[ $1 == "https://github.com/hausgold"* ]]; then
|
||||||
# Also use the `Work` profile for hausgold Github links
|
# Also use the `Work` profile for hausgold Github links
|
||||||
# firefox -P 'Work' "$@"
|
open_browser "Work" "$@"
|
||||||
nohup vivaldi --profile-directory="Work" "$@" &
|
|
||||||
else
|
else
|
||||||
# Otherwise just use the default profile of Firefox directly
|
# Otherwise just use the default profile
|
||||||
# firefox "$@"
|
open_browser "Default" "$@"
|
||||||
nohup vivaldi --profile-directory="Default" "$@" &
|
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,5 @@ BASE_URI="https://github.com/hausgold/"
|
||||||
REPO=$(< "$HOME/.gh/hausgold-repos" tofi)
|
REPO=$(< "$HOME/.gh/hausgold-repos" tofi)
|
||||||
|
|
||||||
if [[ -n $REPO ]]; then
|
if [[ -n $REPO ]]; then
|
||||||
# firefox -P 'Work' "$BASE_URI$REPO"
|
open-url "$BASE_URI$REPO"
|
||||||
nohup vivaldi --profile-directory="Work" "$BASE_URI$REPO" &
|
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -90,9 +90,9 @@ with lib._elements; {
|
||||||
|
|
||||||
homeassistant-shutdown.enable = true;
|
homeassistant-shutdown.enable = true;
|
||||||
|
|
||||||
# pulseaudio.enable = true;
|
pulseaudio.enable = true;
|
||||||
# pulseaudio.support32Bit = true;
|
pulseaudio.support32Bit = true;
|
||||||
pipewire.enable = lib.mkForce true;
|
pipewire.enable = lib.mkForce false;
|
||||||
|
|
||||||
# Automatic mounting of removable media
|
# Automatic mounting of removable media
|
||||||
udisks2.enable = true;
|
udisks2.enable = true;
|
||||||
|
|
@ -206,15 +206,6 @@ with lib._elements; {
|
||||||
enable = true;
|
enable = true;
|
||||||
device = "nodev";
|
device = "nodev";
|
||||||
efiSupport = true;
|
efiSupport = true;
|
||||||
gfxmodeEfi = lib.mkForce "3840x1080,auto";
|
|
||||||
gfxmodeBios = lib.mkForce "3840x1080,auto";
|
|
||||||
};
|
|
||||||
grub2-theme = {
|
|
||||||
enable = true;
|
|
||||||
icon = "white";
|
|
||||||
theme = "tela";
|
|
||||||
screen = "ultrawide2k";
|
|
||||||
# resolution = "3840x1080";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@
|
||||||
type = sftp
|
type = sftp
|
||||||
host = 10.3.0.1
|
host = 10.3.0.1
|
||||||
port = 7319
|
port = 7319
|
||||||
user = christopher-sftp
|
user = christopher
|
||||||
key_file = /home/christopher/.ssh/id_ethnuc
|
key_file = /home/christopher/.ssh/id_ethnuc
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue