[feat] Tried to add nur
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{ device, pkgs, ... }: {
|
||||
{ device, pkgs, nur, ... }: {
|
||||
programs.firefox = {
|
||||
enable = device.isLinux;
|
||||
enable = false;
|
||||
# enable = device.isLinux;
|
||||
profiles.default = {
|
||||
userChrome = let
|
||||
csshacks = pkgs.fetchFromGitHub {
|
||||
@@ -13,6 +14,11 @@
|
||||
@import url(${csshacks}/chrome/tabs_on_bottom.css);
|
||||
@import url(${csshacks}/chrome/toolbars_below_content.css);
|
||||
'';
|
||||
# extensions = with nur.repos.rycee.firefox-addons; [
|
||||
# privacy-badger
|
||||
# ublock-origin
|
||||
# bitwarden
|
||||
# ];
|
||||
};
|
||||
nativeMessagingHosts = [ pkgs.tridactyl-native ];
|
||||
};
|
||||
|
||||
18
config/nix/flake.lock
generated
18
config/nix/flake.lock
generated
@@ -932,6 +932,21 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nur": {
|
||||
"locked": {
|
||||
"lastModified": 1709238329,
|
||||
"narHash": "sha256-c3GRGuMceCIMt8JiVics4PWzoxnJO1fhThhGBesqRG0=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nur",
|
||||
"rev": "04faed2bbb45869890824deb06ab315228ffe7b1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "nur",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"poetry2nix": {
|
||||
"inputs": {
|
||||
"flake-utils": [
|
||||
@@ -1031,7 +1046,8 @@
|
||||
"nix-darwin": "nix-darwin",
|
||||
"nixneovim": "nixneovim",
|
||||
"nixneovimplugins": "nixneovimplugins_2",
|
||||
"nixpkgs": "nixpkgs_5"
|
||||
"nixpkgs": "nixpkgs_5",
|
||||
"nur": "nur"
|
||||
}
|
||||
},
|
||||
"rust-overlay": {
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, home-manager, nix-darwin, flake-utils, anyrun
|
||||
outputs = { nixpkgs, home-manager, nix-darwin, flake-utils, anyrun, nur
|
||||
, neovim-nightly-overlay, ... }@inputs:
|
||||
let
|
||||
config_devices = [
|
||||
@@ -157,7 +157,7 @@
|
||||
in {
|
||||
nixosConfigurations = let devices = nixos_devices;
|
||||
in import ./nixos/device.nix {
|
||||
inherit devices inputs nixpkgs home-manager overlays;
|
||||
inherit devices inputs nixpkgs home-manager overlays nur;
|
||||
};
|
||||
|
||||
darwinConfigurations = let devices = darwin_devices;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ pkgs, device, ... }: {
|
||||
{ pkgs, device, nur, ... }: {
|
||||
imports = [
|
||||
../common/firefox.nix
|
||||
../linux/hyprland.nix
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ nixpkgs, devices, inputs, overlays, home-manager, ... }:
|
||||
{ nixpkgs, devices, inputs, overlays, home-manager, nur, ... }:
|
||||
builtins.listToAttrs (builtins.map (device: {
|
||||
name = device.name;
|
||||
value = nixpkgs.lib.nixosSystem {
|
||||
@@ -8,6 +8,7 @@ builtins.listToAttrs (builtins.map (device: {
|
||||
lanzaboote = inputs.lanzaboote;
|
||||
};
|
||||
modules = [
|
||||
nur.nixosModules.nur
|
||||
{ nixpkgs.overlays = overlays; }
|
||||
./configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
|
||||
Reference in New Issue
Block a user