cleanup and fixes

This commit is contained in:
foglar 2025-01-25 21:37:50 +01:00
parent 3266038206
commit 36aca69068
3 changed files with 280 additions and 273 deletions

View File

@ -35,6 +35,7 @@
- [ ] add grub bootloader to configuration (and theme) - [ ] add grub bootloader to configuration (and theme)
- [ ] distinguish between profiles and decide which version of nixpkgs it should use (my notebook unstable, server stable ...) - [ ] distinguish between profiles and decide which version of nixpkgs it should use (my notebook unstable, server stable ...)
- [ ] add notification management for bluetooth etc... - [ ] add notification management for bluetooth etc...
- [ ] add battery notification
- [ ] add syncthing configuration - [ ] add syncthing configuration
- [ ] qutebrowser configuration - [ ] qutebrowser configuration
- [ ] script dir set environment variable - [ ] script dir set environment variable

View File

@ -13,7 +13,6 @@
config = lib.mkIf config.program.firefox.enable { config = lib.mkIf config.program.firefox.enable {
programs.firefox = { programs.firefox = {
enable = true; enable = true;
package = pkgs.firefox;
profiles.default = { profiles.default = {
search.engines = { search.engines = {
@ -139,7 +138,7 @@
} }
]; ];
extensions = with inputs.firefox-addons.packages."x86_64-linux"; extensions = with inputs.firefox-addons.packages.x86_64-linux;
[ [
ublock-origin ublock-origin
# Lists all possible extensions $ nix-env -f '<nixpkgs>' -qaP -A nur.repos.rycee.firefox-addons # Lists all possible extensions $ nix-env -f '<nixpkgs>' -qaP -A nur.repos.rycee.firefox-addons
@ -147,7 +146,7 @@
++ ( ++ (
if (userSettings.username == "shinya") if (userSettings.username == "shinya")
then then
with inputs.firefox-addons.packages."x86_64-linux"; [ with inputs.firefox-addons.packages.x86_64-linux; [
#enhancer-for-youtube #enhancer-for-youtube
simple-translate simple-translate
duckduckgo-privacy-essentials duckduckgo-privacy-essentials

View File

@ -1,9 +1,14 @@
{ {
lib,
config, config,
pkgs, pkgs,
userSettings,
... ...
}: { }: {
options = {
program.qutebrowser.enable = lib.mkEnableOption "Enable qutebrowser";
};
config = lib.mkIf config.program.qutebrowser.enable {
home.packages = [ home.packages = [
pkgs.qutebrowser pkgs.qutebrowser
]; ];
@ -295,4 +300,6 @@
#c.fonts.web.family.fantasy = font #c.fonts.web.family.fantasy = font
#c.fonts.web.family.cursive = font #c.fonts.web.family.cursive = font
''; '';
};
} }