Compare commits
2 commits
97d2dc1169
...
ed5ed796df
Author | SHA1 | Date | |
---|---|---|---|
ed5ed796df | |||
1341c0520b |
5 changed files with 16 additions and 15 deletions
11
flake.nix
11
flake.nix
|
@ -18,15 +18,20 @@
|
|||
inputs.home-manager.follows = "home-manager";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, home-manager, homeage, agenix, nur, ... }: {
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, homeage, agenix, nur, ... }:
|
||||
let
|
||||
inherit (self) outputs;
|
||||
in
|
||||
{
|
||||
nixosConfigurations.pim = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit outputs; };
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
{ nixpkgs.overlays = [ nur.overlay ]; }
|
||||
./configuration.nix
|
||||
agenix.nixosModules.default
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.extraSpecialArgs = { inherit nur; };
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.pim = {
|
||||
|
|
|
@ -1,13 +1,10 @@
|
|||
{ pkgs, nur, ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
nur-no-pkgs = import (nur) { inherit pkgs; nurpkgs = pkgs; };
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./bash
|
||||
./neovim
|
||||
(import ./firefox nur-no-pkgs) # TODO: bit of a hack, but better than before
|
||||
./firefox
|
||||
./ssh
|
||||
./syncthing
|
||||
./alacritty
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ nurpkgs, lib, ... }@args:
|
||||
pkgs: lib:
|
||||
let
|
||||
rycee-addons = nurpkgs.repos.rycee.firefox-addons;
|
||||
custom-addons = import ./custom-addons.nix args;
|
||||
rycee-addons = pkgs.nur.repos.rycee.firefox-addons;
|
||||
custom-addons = import ./custom-addons.nix pkgs lib;
|
||||
in
|
||||
{
|
||||
default = lib.concatLists [
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, lib, ... }:
|
||||
pkgs: lib:
|
||||
let
|
||||
# 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,
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
nurpkgs:
|
||||
{ pkgs, lib, ... }@args:
|
||||
{ pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
firefoxAddons = import ./addons.nix (args // { inherit nurpkgs; });
|
||||
firefoxAddons = import ./addons.nix pkgs lib;
|
||||
firefoxSettings = {
|
||||
"browser.aboutConfig.showWarning" = false;
|
||||
"browser.toolbars.bookmarks.visibility" = "always";
|
||||
|
|
Loading…
Reference in a new issue