Find a file
2023-04-24 22:08:38 +02:00
base.nix convention 2023-04-20 00:12:13 +02:00
pp-gitea.nix test openid redirection 2023-04-24 22:08:38 +02:00
pp-keycloak.nix fix proxy buffer size 2023-04-20 21:01:20 +02:00
README.md fix url 2023-04-17 21:56:36 +02:00
TODO.md add todo 2023-04-20 00:31:42 +02:00

Some module for Nixos

Modules can be imported with fetchurl like this:

  imports =
    [
      ./hardware-configuration.nix
      (builtins.fetchurl {
         url = "https://git.mineau.eu/histausse/base-nix-vm/raw/branch/master/base.nix";
         sha256 = "0r7rj0in3f5m171sx0savbynijcj3bfnnm9zi60l1l4v5l6dgv78";
       })

    ];

Where the value of sha256 can be found using nix-prefetch-url like this:

# nix-prefetch-url https://git.mineau.eu/histausse/nixos-modules/raw/branch/master/default.nix
path is '/nix/store/jrypv02r1c2i05iw8q0y1h386mjrp6da-default.nix'
0r7rj0in3f5m171sx0savbynijcj3bfnnm9zi60l1l4v5l6dgv78

To test a derivation:

# nix repl '<nixpkgs/nixos>'