Compare commits
No commits in common. "848a04020227670ad635267c7116c1800efeffbd" and "bbfa8b1d4c28d083ecb3bc34f52b1130a4e8bd2d" have entirely different histories.
848a040202
...
bbfa8b1d4c
5 changed files with 11 additions and 32 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +0,0 @@
|
||||||
result
|
|
18
flake.lock
18
flake.lock
|
@ -32,26 +32,10 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nur": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1696831218,
|
|
||||||
"narHash": "sha256-UBtOKflBTUBfeFB7oYvMUzlc2uBLpZc+15JC9bPwKF4=",
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "NUR",
|
|
||||||
"rev": "be4322f9eaf6158baa87b3c08fc0a8d8805db181",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "NUR",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs"
|
||||||
"nur": "nur"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
15
flake.nix
15
flake.nix
|
@ -3,30 +3,25 @@
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
|
||||||
nur.url = "github:nix-community/NUR";
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz";
|
url = "https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, home-manager, nur, ... }: {
|
outputs = { self, nixpkgs, home-manager }: {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
pim = nixpkgs.lib.nixosSystem {
|
pim = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
{ nixpkgs.overlays = [ nur.overlay ]; }
|
./configuration.nix
|
||||||
(args: home-manager.nixosModules.home-manager {
|
home-manager.nixosModules.home-manager {
|
||||||
inherit (args) lib pkgs config utils;
|
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.users.pim = {
|
home-manager.users.pim = {
|
||||||
imports = [
|
imports = [ ./home/home.nix ];
|
||||||
./home/home.nix
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
})
|
}
|
||||||
./configuration.nix
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{pkgs, lib, ...}@args:
|
{nurpkgs, lib, ...}@args:
|
||||||
let
|
let
|
||||||
rycee-addons = pkgs.repos.rycee.firefox-addons;
|
rycee-addons = nurpkgs.repos.rycee.firefox-addons;
|
||||||
custom-addons = import ./custom-addons.nix args;
|
custom-addons = import ./custom-addons.nix args;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
args:
|
{ pkgs, ...}@args:
|
||||||
|
|
||||||
let
|
let
|
||||||
firefoxAddons = import ./addons.nix args;
|
nurpkgs = import (builtins.fetchTarball {url = "https://github.com/nix-community/NUR/archive/master.tar.gz"; sha256 = "1gb3wkmyl6xbs4kval2ml48nlil39853dj62rxfrlk9i2nky2ly4"; }) { inherit pkgs; };
|
||||||
|
firefoxAddons = import ./addons.nix (args // {inherit nurpkgs; });
|
||||||
firefoxSettings = {
|
firefoxSettings = {
|
||||||
"browser.aboutConfig.showWarning" = false;
|
"browser.aboutConfig.showWarning" = false;
|
||||||
"browser.toolbars.bookmarks.visibility" = "always";
|
"browser.toolbars.bookmarks.visibility" = "always";
|
||||||
|
|
Loading…
Reference in a new issue