aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorStefan Weigl-Bosker <stefan@s00.xyz>2025-06-24 13:10:57 -0400
committerStefan Weigl-Bosker <stefan@s00.xyz>2025-06-24 13:10:57 -0400
commitf6cb5fe08b97af63fbdd2d32ff8896c142536850 (patch)
tree683bdd10af9cac7927546b15db3745085a281f6e /flake.nix
parent2a9a6f104b95789ed218942bcf30f8b22ffda0f9 (diff)
downloadhome-f6cb5fe08b97af63fbdd2d32ff8896c142536850.tar.gz
fw: init
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index aefe6e2..f69f68b 100644
--- a/flake.nix
+++ b/flake.nix
@@ -16,6 +16,10 @@
url = "github:nix-community/neovim-nightly-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
+ nixos-hardware = {
+ url = "github:NixOS/nixos-hardware/master";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
};
outputs =
@@ -25,6 +29,7 @@
home-manager,
nixgl,
neovim-nightly,
+ nixos-hardware,
...
}:
let
@@ -60,6 +65,25 @@
}
];
};
+ fw = nixpkgs.lib.nixosSystem {
+ inherit system;
+ specialArgs = { inherit inputs; };
+ modules = [
+ nixos-hardware.nixosModules.framework-13-7040-amd
+ ./fw/configuration.nix
+ home-manager.nixosModules.home-manager
+ {
+ home-manager = {
+ users.stefan = import ./fw/home.nix;
+ useGlobalPkgs = true;
+ useUserPackages = true;
+ extraSpecialArgs = {
+ inherit system inputs pkgs;
+ };
+ };
+ }
+ ];
+ };
};
homeConfigurations = {
inherit inputs system pkgs;