flake.nix.example aktualisiert
This commit is contained in:
parent
30d386647a
commit
f6860104ce
1 changed files with 1 additions and 1 deletions
23
flake.nix.example
Normal file
23
flake.nix.example
Normal file
|
@ -0,0 +1,23 @@
|
|||
# flake.nix
|
||||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
|
||||
home-manager.url = "github:nix-community/home-manager/release-24.11";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
flatpaks.url = "github:gmodena/nix-flatpak/?ref=latest";
|
||||
};
|
||||
outputs = inputs@{ self, nixpkgs, home-manager, flatpaks, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
in
|
||||
{
|
||||
# hostname = test-system-module
|
||||
nixosConfigurations.$hostname = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [
|
||||
flatpaks.nixosModules.nix-flatpak
|
||||
./coreconfig/configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue