Compare commits
No commits in common. "ed5ed796df87fcab41c117c49cd0b2ca12509d86" and "97d2dc116954a4f3180f33eb19a6511c1807d0bd" have entirely different histories.
ed5ed796df
...
97d2dc1169
5 changed files with 15 additions and 16 deletions
|
@ -19,19 +19,14 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, home-manager, homeage, agenix, nur, ... }:
|
outputs = { nixpkgs, home-manager, homeage, agenix, nur, ... }: {
|
||||||
let
|
|
||||||
inherit (self) outputs;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
nixosConfigurations.pim = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.pim = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = { inherit outputs; };
|
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
{ nixpkgs.overlays = [ nur.overlay ]; }
|
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
home-manager.nixosModules.home-manager {
|
home-manager.nixosModules.home-manager {
|
||||||
|
home-manager.extraSpecialArgs = { inherit nur; };
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.users.pim = {
|
home-manager.users.pim = {
|
||||||
|
|
|
@ -1,10 +1,13 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, nur, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
nur-no-pkgs = import (nur) { inherit pkgs; nurpkgs = pkgs; };
|
||||||
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./bash
|
./bash
|
||||||
./neovim
|
./neovim
|
||||||
./firefox
|
(import ./firefox nur-no-pkgs) # TODO: bit of a hack, but better than before
|
||||||
./ssh
|
./ssh
|
||||||
./syncthing
|
./syncthing
|
||||||
./alacritty
|
./alacritty
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
pkgs: lib:
|
{ nurpkgs, lib, ... }@args:
|
||||||
let
|
let
|
||||||
rycee-addons = pkgs.nur.repos.rycee.firefox-addons;
|
rycee-addons = nurpkgs.repos.rycee.firefox-addons;
|
||||||
custom-addons = import ./custom-addons.nix pkgs lib;
|
custom-addons = import ./custom-addons.nix args;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
default = lib.concatLists [
|
default = lib.concatLists [
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
pkgs: lib:
|
{ pkgs, lib, ... }:
|
||||||
let
|
let
|
||||||
# Stolen from: https://github.com/nix-community/nur-combined/blob/master/repos/rycee/pkgs/firefox-addons/default.nix
|
# Stolen from: https://github.com/nix-community/nur-combined/blob/master/repos/rycee/pkgs/firefox-addons/default.nix
|
||||||
buildFirefoxXpiAddon = lib.makeOverridable ({ stdenv ? pkgs.stdenv, fetchurl ? pkgs.fetchurl,
|
buildFirefoxXpiAddon = lib.makeOverridable ({ stdenv ? pkgs.stdenv, fetchurl ? pkgs.fetchurl,
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
{ pkgs, lib, ... }:
|
nurpkgs:
|
||||||
|
{ pkgs, lib, ... }@args:
|
||||||
|
|
||||||
let
|
let
|
||||||
firefoxAddons = import ./addons.nix pkgs lib;
|
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