Find a file
2023-04-20 00:03:56 +02:00
base.nix update gitea config 2023-04-19 23:50:49 +02:00
pp-gitea.nix update gitea config 2023-04-19 23:50:49 +02:00
pp-keycloak.nix update keycloak 2023-04-20 00:03:56 +02:00
README.md fix url 2023-04-17 21:56:36 +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>'