23 lines
649 B
Text
23 lines
649 B
Text
# 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
|
|
];
|
|
};
|
|
};
|
|
}
|