move nur overlay to firefox module

This commit is contained in:
jacekpoz 2024-02-29 01:28:20 +01:00
parent e7d3b9fc1f
commit 8f4061f393
No known key found for this signature in database
GPG key ID: 94E812A8B12AAE3C
3 changed files with 10 additions and 18 deletions

View file

@ -1,15 +1,9 @@
{
config,
pkgs,
inputs,
...
}: {
nixpkgs = {
config = {
allowUnfree = true;
};
overlays = [ inputs.nur.overlay ];
};
nixpkgs.config.allowUnfree = true;
boot = {
kernelPackages = pkgs.linuxPackages_xanmod_latest;

View file

@ -1,19 +1,15 @@
{
config,
pkgs,
inputs,
...
}: {
nixpkgs = {
config = {
permittedInsecurePackages = [
"python-2.7.18.6"
"electron-24.8.6"
"electron-25.9.0"
];
allowUnfree = true;
};
overlays = [ inputs.nur.overlay ];
nixpkgs.config = {
permittedInsecurePackages = [
"python-2.7.18.6"
"electron-24.8.6"
"electron-25.9.0"
];
allowUnfree = true;
};
boot = {

View file

@ -92,6 +92,8 @@ in {
};
config = mkIf cfg.enable {
nixpkgs.overlays = [ inputs.nur.overlay ];
home-manager.users.${username} = {
xdg.desktopEntries = {
firefox-schizo = {