add flake.nix
This commit is contained in:
parent
6632a24144
commit
72e2205539
1 changed files with 23 additions and 0 deletions
23
flake.nix
Normal file
23
flake.nix
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.ChCh-Elab-L = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [
|
||||
flatpaks.nixosModules.nix-flatpak
|
||||
./configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue