35 lines
958 B
Nix
35 lines
958 B
Nix
{
|
|
description = "Opel personal NixOS Flake config";
|
|
|
|
inputs = {
|
|
# NixOS official package source, using the nixos-26.05 branch here
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
|
|
|
|
home-manager = {
|
|
# User Package Management
|
|
url = "github:nix-community/home-manager/release-26.05";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
agenix = {
|
|
url = "github:ryantm/agenix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
lanzaboote = {
|
|
url = "github:nix-community/lanzaboote/master";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home-manager, agenix, lanzaboote, ... }@inputs: {
|
|
# Please replace my-nixos with your hostname
|
|
nixosConfigurations.fuji = nixpkgs.lib.nixosSystem {
|
|
modules = [
|
|
# Import the previous configuration.nix we used,
|
|
# so the old configuration file still takes effect
|
|
./configuration.nix
|
|
];
|
|
};
|
|
};
|
|
}
|