1
Fork 0

Change grub theme

This commit is contained in:
prescientmoon 2024-04-29 14:24:28 +02:00
parent 6da8078cc3
commit b09a445939
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
5 changed files with 64 additions and 56 deletions

View file

@ -5,7 +5,7 @@ This file tells the story of my setup throughout it's history. This document is
## 2024-04-29 ## 2024-04-29
- sunny field vibes - sunny field vibes
- land of the lustrous [Diamond (Land of the Lustrous) wallpaper](https://wallhaven.cc/w/vmk2e3) - [Diamond (Land of the Lustrous) wallpaper](https://wallhaven.cc/w/vmk2e3)
- [catppuccin-latte](https://github.com/catppuccin/base16) colors - [catppuccin-latte](https://github.com/catppuccin/base16) colors
- apps on display: [Yazi](https://github.com/sxyazi/yazi), [Cmatrix](https://github.com/abishekvashok/cmatrix), [Neovim](https://neovim.io/), [Anyrun](https://github.com/catppuccin/base16) - apps on display: [Yazi](https://github.com/sxyazi/yazi), [Cmatrix](https://github.com/abishekvashok/cmatrix), [Neovim](https://neovim.io/), [Anyrun](https://github.com/catppuccin/base16)

View file

@ -328,6 +328,27 @@
"type": "github" "type": "github"
} }
}, },
"darkmatter-grub-theme": {
"inputs": {
"flake-compat": "flake-compat",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1683347392,
"narHash": "sha256-snW+8pJvBQ1B11FmUf6kSgARZW5OvW9uXgxA2VrlzcQ=",
"owner": "VandalByte",
"repo": "darkmatter-grub-theme",
"rev": "efe1abbde0aa9410217247d415ff734583af9711",
"type": "gitlab"
},
"original": {
"owner": "VandalByte",
"repo": "darkmatter-grub-theme",
"type": "gitlab"
}
},
"dekking": { "dekking": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -502,11 +523,11 @@
"flake-compat_2": { "flake-compat_2": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1696426674, "lastModified": 1673956053,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=",
"owner": "edolstra", "owner": "edolstra",
"repo": "flake-compat", "repo": "flake-compat",
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -532,6 +553,22 @@
} }
}, },
"flake-compat_4": { "flake-compat_4": {
"flake": false,
"locked": {
"lastModified": 1696426674,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-compat_5": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1673956053, "lastModified": 1673956053,
@ -547,7 +584,7 @@
"type": "github" "type": "github"
} }
}, },
"flake-compat_5": { "flake-compat_6": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1696426674, "lastModified": 1696426674,
@ -563,7 +600,7 @@
"type": "github" "type": "github"
} }
}, },
"flake-compat_6": { "flake-compat_7": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1673956053, "lastModified": 1673956053,
@ -934,26 +971,6 @@
"type": "github" "type": "github"
} }
}, },
"grub2-themes": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1708174123,
"narHash": "sha256-h1m4PaeKXVXTJcAg0urnHHnXZKpIA159ZZ/XBOQXyZo=",
"owner": "vinceliuice",
"repo": "grub2-themes",
"rev": "eda1b86dd8e991ea0c03090ff60b4c0b63799489",
"type": "github"
},
"original": {
"owner": "vinceliuice",
"repo": "grub2-themes",
"type": "github"
}
},
"haskell-dependency-graph-nix": { "haskell-dependency-graph-nix": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -1317,7 +1334,7 @@
}, },
"neovim-nightly-overlay": { "neovim-nightly-overlay": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_3", "flake-compat": "flake-compat_4",
"flake-parts": "flake-parts_3", "flake-parts": "flake-parts_3",
"hercules-ci-effects": "hercules-ci-effects", "hercules-ci-effects": "hercules-ci-effects",
"neovim-flake": "neovim-flake", "neovim-flake": "neovim-flake",
@ -1737,7 +1754,7 @@
}, },
"pre-commit-hooks": { "pre-commit-hooks": {
"inputs": { "inputs": {
"flake-compat": "flake-compat", "flake-compat": "flake-compat_2",
"flake-utils": "flake-utils_2", "flake-utils": "flake-utils_2",
"gitignore": "gitignore", "gitignore": "gitignore",
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_3",
@ -1759,7 +1776,7 @@
}, },
"pre-commit-hooks_2": { "pre-commit-hooks_2": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_4", "flake-compat": "flake-compat_5",
"flake-utils": "flake-utils_6", "flake-utils": "flake-utils_6",
"gitignore": "gitignore_2", "gitignore": "gitignore_2",
"nixpkgs": "nixpkgs_12", "nixpkgs": "nixpkgs_12",
@ -1781,7 +1798,7 @@
}, },
"pre-commit-hooks_3": { "pre-commit-hooks_3": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_5", "flake-compat": "flake-compat_6",
"flake-utils": "flake-utils_7", "flake-utils": "flake-utils_7",
"gitignore": "gitignore_3", "gitignore": "gitignore_3",
"nixpkgs": "nixpkgs_13", "nixpkgs": "nixpkgs_13",
@ -1822,7 +1839,7 @@
}, },
"purescript-overlay": { "purescript-overlay": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_2", "flake-compat": "flake-compat_3",
"nixpkgs": [ "nixpkgs": [
"miros", "miros",
"nixpkgs" "nixpkgs"
@ -1902,9 +1919,9 @@
"inputs": { "inputs": {
"anyrun": "anyrun", "anyrun": "anyrun",
"catppuccin-base16": "catppuccin-base16", "catppuccin-base16": "catppuccin-base16",
"darkmatter-grub-theme": "darkmatter-grub-theme",
"disko": "disko", "disko": "disko",
"firefox-addons": "firefox-addons", "firefox-addons": "firefox-addons",
"grub2-themes": "grub2-themes",
"home-manager": "home-manager", "home-manager": "home-manager",
"impermanence": "impermanence", "impermanence": "impermanence",
"intray": "intray", "intray": "intray",
@ -2157,7 +2174,7 @@
"base16-kitty": "base16-kitty", "base16-kitty": "base16-kitty",
"base16-tmux": "base16-tmux", "base16-tmux": "base16-tmux",
"base16-vim": "base16-vim", "base16-vim": "base16-vim",
"flake-compat": "flake-compat_6", "flake-compat": "flake-compat_7",
"gnome-shell": "gnome-shell", "gnome-shell": "gnome-shell",
"home-manager": "home-manager_4", "home-manager": "home-manager_4",
"nixpkgs": "nixpkgs_14" "nixpkgs": "nixpkgs_14"

View file

@ -64,20 +64,16 @@
spicetify-nix.inputs.nixpkgs.follows = "nixpkgs"; spicetify-nix.inputs.nixpkgs.follows = "nixpkgs";
# }}} # }}}
# {{{ Theming # {{{ Theming
# Grub2 themes darkmatter-grub-theme.url = gitlab:VandalByte/darkmatter-grub-theme;
grub2-themes.url = "github:vinceliuice/grub2-themes"; darkmatter-grub-theme.inputs.nixpkgs.follows = "nixpkgs";
grub2-themes.inputs.nixpkgs.follows = "nixpkgs";
# Stylix
stylix.url = "github:danth/stylix/a33d88cf8f75446f166f2ff4f810a389feed2d56"; stylix.url = "github:danth/stylix/a33d88cf8f75446f166f2ff4f810a389feed2d56";
# stylix.inputs.nixpkgs.follows = "nixpkgs"; # stylix.inputs.nixpkgs.follows = "nixpkgs";
# stylix.inputs.home-manager.follows = "home-manager"; # stylix.inputs.home-manager.follows = "home-manager";
# Catpuccin base16 color schemes
catppuccin-base16.url = "github:catppuccin/base16"; catppuccin-base16.url = "github:catppuccin/base16";
catppuccin-base16.flake = false; catppuccin-base16.flake = false;
# Rosepine base16 color schemes
rosepine-base16.url = "github:edunfelt/base16-rose-pine-scheme"; rosepine-base16.url = "github:edunfelt/base16-rose-pine-scheme";
rosepine-base16.flake = false; rosepine-base16.flake = false;
# }}} # }}}

View file

@ -510,17 +510,10 @@ let
cond = blacklist "vscode"; cond = blacklist "vscode";
event = "VeryLazy"; event = "VeryLazy";
config = true; opts = {
init = thunk /* lua */ '' select.backend = [ "nui" "builtin" "telescope" ];
vim.ui.select = function(...) input.insert_only = false;
require("lazy").load({ plugins = { "dressing.nvim" } }) };
return vim.ui.select(...)
end
vim.ui.input = function(...)
require("lazy").load({ plugins = { "dressing.nvim" } })
return vim.ui.input(...)
end
'';
}; };
# }}} # }}}
# }}} # }}}

View file

@ -1,10 +1,5 @@
{ inputs, ... }: { { inputs, ... }: {
imports = [ inputs.grub2-themes.nixosModules.default ]; imports = [ inputs.darkmatter-grub-theme.nixosModule ];
# Defined [here](https://github.com/vinceliuice/grub2-themes/blob/master/flake.nix#L11)
boot.loader.grub2-theme = {
enable = true;
};
# See [the wiki page](https://nixos.wiki/wiki/Dual_Booting_NixOS_and_Windows) # See [the wiki page](https://nixos.wiki/wiki/Dual_Booting_NixOS_and_Windows)
boot.loader = { boot.loader = {
@ -33,6 +28,13 @@
chainloader /EFI/Microsoft/Boot/bootmgfw.efi chainloader /EFI/Microsoft/Boot/bootmgfw.efi
} }
''; '';
darkmatter-theme = {
enable = true;
style = "nixos";
icon = "color";
resolution = "1080p";
};
}; };
}; };
} }