blob: 50ae168bf2ed7c3fdac5744be1cdec78d29db1b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
inputs:
{ config, lib, ... }:
{
imports = [
(import ./commandline.nix inputs)
(import ./localization.nix inputs)
(import ./nix.nix inputs)
(import ./ssh.nix inputs)
(import ./theme.nix inputs)
(import ./tinc.nix inputs)
(import ./unfree.nix inputs)
(import ./vim.nix inputs)
(import ./zram.nix inputs)
];
nixpkgs.overlays = [
(final: prev: {
# Inheriting config allows adding unfree package using the option
# nixpkgs.config.allowUnfreePredicate
unstable = import inputs.nixpkgs-unstable {
inherit (config.nixpkgs) system config;
};
})
inputs.nur.overlay
];
nix.registry = with lib;
mapAttrs (name: value: { flake = value; }) inputs;
}
|