~ruther/nixos-config

ref: 059298edced90601d6825f13e62b1b320ca1183f nixos-config/nixos/isos/common/default.nix -rw-r--r-- 851 bytes
059298ed — Frantisek Bohacek chore: adapt to new cursor theme name 10 months ago
                                                                                
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{ config, pkgs, lib, ... }:

{
  imports = [
    ./users.nix
    ./ssh.nix
    ./vim.nix
    ./emacs.nix
    ./shell-apps.nix
  ];

  isoImage.squashfsCompression = "zstd -Xcompression-level 6";

  fonts.packages = [
    (pkgs.nerdfonts.override {
      fonts = [ "FiraCode" ];
    })
  ];

  environment.systemPackages = [
    pkgs.foot
  ];

  environment.variables = {
    SELF = config.deps-inject.inputs.self;
  };

  nix = {
    settings = {
      flake-registry = "";
      experimental-features = [ "nix-command" "flakes" ];
    };

    registry =  lib.mkMerge [
      (lib.mapAttrs (n: input: {
        flake = input;
      }) config.deps-inject.inputs)

      {
        nixpkgs = lib.mkForce {
          flake = config.deps-inject.inputs.nixpkgs-stable;
        };
      }
    ];

    nixPath = [
      "nixpkgs=flake:nixpkgs"
    ];
  };
}
Do not follow this link