2022-05-25 19:27:42 +02:00
|
|
|
{
|
|
|
|
inputs = {
|
2024-12-31 14:00:49 +00:00
|
|
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
2024-12-31 14:03:06 +00:00
|
|
|
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.11";
|
2022-09-28 21:42:37 +02:00
|
|
|
|
2023-01-09 18:23:59 +01:00
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
2022-09-28 21:42:37 +02:00
|
|
|
|
2022-05-29 13:39:17 +02:00
|
|
|
sops-nix = {
|
2023-01-09 18:23:59 +01:00
|
|
|
url = "github:Mic92/sops-nix";
|
2024-12-31 17:13:04 +01:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs-stable";
|
2022-05-29 13:39:17 +02:00
|
|
|
};
|
2022-09-28 21:42:37 +02:00
|
|
|
|
2025-01-01 16:37:23 +01:00
|
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
|
|
|
|
2025-01-02 16:29:05 +01:00
|
|
|
microvm = {
|
|
|
|
url = "github:astro/microvm.nix/v0.5.0";
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.follows = "nixpkgs-stable";
|
|
|
|
flake-utils.follows = "flake-utils";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
lanzaboote = {
|
|
|
|
url = "github:nix-community/lanzaboote/v0.4.1";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs-stable";
|
|
|
|
};
|
2022-09-28 21:42:37 +02:00
|
|
|
|
2023-02-14 22:13:52 +01:00
|
|
|
tmux-yank = {
|
|
|
|
url = "github:tmux-plugins/tmux-yank";
|
|
|
|
flake = false;
|
|
|
|
};
|
2022-05-25 19:27:42 +02:00
|
|
|
};
|
|
|
|
|
2022-07-10 03:00:29 +02:00
|
|
|
outputs =
|
|
|
|
inputs@{ self
|
2022-10-25 21:40:50 +02:00
|
|
|
, flake-utils
|
2025-01-02 16:29:05 +01:00
|
|
|
, microvm
|
2024-12-31 14:03:06 +00:00
|
|
|
, nixpkgs-stable
|
2024-12-31 14:00:49 +00:00
|
|
|
, nixpkgs-unstable
|
2022-07-10 03:00:29 +02:00
|
|
|
, sops-nix
|
2025-01-01 16:37:23 +01:00
|
|
|
, nixos-hardware
|
2025-01-02 16:29:05 +01:00
|
|
|
, lanzaboote
|
2022-07-10 03:00:29 +02:00
|
|
|
, ...
|
|
|
|
}:
|
2022-09-28 21:42:37 +02:00
|
|
|
|
2022-07-10 03:00:29 +02:00
|
|
|
{
|
|
|
|
nixosConfigurations = {
|
2024-12-31 14:00:49 +00:00
|
|
|
toaster = nixpkgs-unstable.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = { inherit inputs; };
|
|
|
|
modules = [
|
2025-01-02 16:29:05 +01:00
|
|
|
sops-nix.nixosModules.sops
|
|
|
|
lanzaboote.nixosModules.lanzaboote
|
2025-01-01 16:37:23 +01:00
|
|
|
nixos-hardware.nixosModules.lenovo-thinkpad-t14-amd-gen3
|
2024-12-31 14:00:49 +00:00
|
|
|
|
|
|
|
./hosts/toaster
|
|
|
|
|
|
|
|
./modules/basic-tools
|
|
|
|
./modules/binary-caches.nix
|
|
|
|
./modules/devtools.nix
|
2024-12-31 17:13:04 +01:00
|
|
|
./modules/gnome.nix
|
2024-12-31 14:00:49 +00:00
|
|
|
./modules/gnupg.nix
|
|
|
|
./modules/radio.nix
|
|
|
|
./modules/science.nix
|
|
|
|
./modules/tlp.nix
|
2025-01-01 16:37:23 +01:00
|
|
|
# ./modules/virtualization.nix
|
2025-01-02 16:29:05 +01:00
|
|
|
./hosts/toaster/secure-boot.nix
|
|
|
|
./modules/chromium.nix
|
2024-12-31 14:00:49 +00:00
|
|
|
];
|
|
|
|
};
|
2022-06-17 19:29:47 +02:00
|
|
|
};
|
2022-05-25 19:27:42 +02:00
|
|
|
};
|
2025-01-02 16:29:05 +01:00
|
|
|
}
|