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)
- [ ] distinguish between profiles and decide which version of nixpkgs it should use (my notebook unstable, server stable ...)
- [ ] add notification management for bluetooth etc...
- [ ] add battery notification
- [ ] add syncthing configuration
- [ ] qutebrowser configuration
- [ ] script dir set environment variable

View File

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

View File

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