impermanence-talk/flake.nix

33 lines
775 B
Nix
Raw Permalink Normal View History

2024-04-06 17:22:33 +00:00
{
2024-04-07 17:34:18 +00:00
description = "Material for a talk about NixOS Impermanence";
2024-04-06 17:22:33 +00:00
inputs = {
2024-04-07 17:34:18 +00:00
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
2024-04-06 17:22:33 +00:00
};
2024-04-07 17:34:18 +00:00
outputs = {
self,
nixpkgs,
...
} @ inputs: let
supportedSystems = ["x86_64-linux"];
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
pkgs = forAllSystems (system: nixpkgs.legacyPackages.${system});
in {
# Typst PDF
# programs = throw "TODO"; # slides
2024-04-06 17:22:33 +00:00
2024-04-07 17:34:18 +00:00
# For sue with `nix flake init --template </path/to/this/flake>#<template>` or
# `nix flake new --template .#<template> /path/to/project`
templates = {
default = {
path = ./template;
2024-04-06 17:22:33 +00:00
2024-04-07 17:34:18 +00:00
description = "A flake template for a NixOS setup with impermanence.";
2024-04-06 17:22:33 +00:00
2024-04-07 17:34:18 +00:00
welcomeText = "";
};
};
2024-04-06 17:22:33 +00:00
};
}