This commit is contained in:
randomuser 2023-12-21 17:22:54 -06:00
parent 4cacbe9592
commit 979e792904
4 changed files with 62 additions and 25 deletions

View File

@ -1,5 +1,41 @@
{
"nodes": {
"firefox-addons": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"dir": "pkgs/firefox-addons",
"lastModified": 1703186936,
"narHash": "sha256-+kBiJ++R59cLnCX0XTaYJ94KO6xdgLX724+o7PUP4dI=",
"owner": "rycee",
"repo": "nur-expressions",
"rev": "c7e25b8a8abc8175d1caa33f7eda32bdb48aec66",
"type": "gitlab"
},
"original": {
"dir": "pkgs/firefox-addons",
"owner": "rycee",
"repo": "nur-expressions",
"type": "gitlab"
}
},
"flake-utils": {
"locked": {
"lastModified": 1629284811,
"narHash": "sha256-JHgasjPR0/J1J3DRm4KxM4zTyAj4IOJY8vIl75v/kPI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "c5d161cc0af116a2e17f54316f0bf43f0819785c",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
@ -22,6 +58,22 @@
}
},
"nixpkgs": {
"locked": {
"lastModified": 1627814220,
"narHash": "sha256-P+MDgdZw2CBk9X1ZZaUgHgN+32pTfLFf3XVIBOXirI4=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "ab5b6828af26215bf2646c31961da5d3749591ef",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1702921762,
"narHash": "sha256-O/rP7gulApQAB47u6szEd8Pn8Biw0d84j5iuP2tcxzY=",
@ -37,26 +89,11 @@
"type": "github"
}
},
"nur": {
"locked": {
"lastModified": 1703187919,
"narHash": "sha256-r28tTx9xuc2h3tCA1zmotrLnJDffaFHMMSy5hDpkegU=",
"owner": "nix-community",
"repo": "NUR",
"rev": "aa77c3b4f6b8dba86c5e75269b1f6a123168d4df",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "NUR",
"type": "github"
}
},
"root": {
"inputs": {
"firefox-addons": "firefox-addons",
"home-manager": "home-manager",
"nixpkgs": "nixpkgs",
"nur": "nur"
"nixpkgs": "nixpkgs_2"
}
}
},

View File

@ -7,16 +7,17 @@
url = "github:nix-community/home-manager/release-23.11";
inputs.nixpkgs.follows = "nixpkgs";
};
nur = {
url = "github:nix-community/NUR";
firefox-addons = {
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
};
};
outputs = { self, nixpkgs, home-manager, nur, ... }@inputs: {
outputs = { self, nixpkgs, home-manager, firefox-addons, ... }@inputs: {
nixosConfigurations = {
virtbox = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = inputs;
specialArgs = { inherit inputs; };
extraSpecialArgs = { inherit inputs; };
modules = [
./bootstrap.nix
./boxes/virtbox.nix
@ -28,7 +29,6 @@
home-manager.users.usr = import ./home/terminal.nix;
}
nur.nixosModules.nur
];
};
};

View File

@ -1,4 +1,4 @@
{ lib, config, pkgs, home, ... }:
{ lib, inputs, config, pkgs, home, ... }:
{
programs.firefox = {
@ -6,7 +6,7 @@
profiles = {
"main" = {
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
extensions = with inputs.firefox-addons; [
bitwarden
];
};

View File

@ -1,4 +1,4 @@
{ lib, config, pkgs, home, ... }:
{ lib, inputs, config, pkgs, home, ... }:
{
imports = [