refact(modules) : better modules organisation + wip local-dev setup

This commit is contained in:
Florian Schmitt 2023-04-15 10:45:56 +03:00
parent 3d092d8dd9
commit 0f6f08997d
4 changed files with 131 additions and 40 deletions

View file

@ -45,11 +45,26 @@ in
programs = {
dconf.enable = true;
firefox.enable = true;
};
chromium = {
enable = true;
homepageLocation = "about:blank";
imports = [
./desktop-chromium.nix
];
extensions = [
"pejkokffkapolfffcgbmdmhdelanoaih" # Unsplash instant
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # uBlock Origin
"gfapcejdoghpoidkfodoiiffaaibpaem" # Dracula theme
];
extraOpts = {
SpellcheckEnabled = true;
SpellcheckLanguage = [
"fr-FR"
"en-GB"
"ru"
];
};
};
};
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
@ -60,6 +75,7 @@ in
};
};
};
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
@ -79,6 +95,9 @@ in
}
];
})
(chromium.override {
enableWideVine = true; # DRM support
})
bitwarden
chromium
element-desktop