summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix63
1 files changed, 34 insertions, 29 deletions
diff --git a/flake.nix b/flake.nix
index c8d3cf9..b56b004 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,37 +1,42 @@
{
inputs = {
my-nixpkgs.url = "github:qaristote/my-nixpkgs";
- nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
+ nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
};
- outputs = {
- nixpkgs,
- my-nixpkgs,
- nixos-hardware,
- ...
- }: {
- nixosConfigurations = let
- system = "x86_64-linux";
- commonModules = [
- my-nixpkgs.nixosModules.personal
- ({...}: {
- nixpkgs.overlays = [
- my-nixpkgs.overlays.personal
+ outputs =
+ {
+ nixpkgs,
+ my-nixpkgs,
+ nixos-hardware,
+ ...
+ }:
+ {
+ nixosConfigurations =
+ let
+ system = "x86_64-linux";
+ commonModules = [
+ my-nixpkgs.nixosModules.personal
+ (
+ { ... }:
+ {
+ nixpkgs.overlays = [
+ my-nixpkgs.overlays.personal
+ ];
+ }
+ )
];
- })
- ];
- in {
- hephaistos = nixpkgs.lib.nixosSystem {
- inherit system;
- specialArgs = {inherit nixos-hardware;};
- modules =
- commonModules
- ++ [./config];
- };
- hephaistos-test = nixpkgs.lib.nixosSystem {
- inherit system;
- modules = commonModules ++ [./tests/configuration.nix];
- };
+ in
+ {
+ hephaistos = nixpkgs.lib.nixosSystem {
+ inherit system;
+ specialArgs = { inherit nixos-hardware; };
+ modules = commonModules ++ [ ./config ];
+ };
+ hephaistos-test = nixpkgs.lib.nixosSystem {
+ inherit system;
+ modules = commonModules ++ [ ./tests/configuration.nix ];
+ };
+ };
};
- };
}