aboutsummaryrefslogtreecommitdiffstats
path: root/flake
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-01 20:22:29 +0100
committerene <ene@sils.li>2023-02-01 20:28:24 +0100
commita806c6776ea19ec068b7a60fde211310fd41d156 (patch)
treeb34083424e759459473b13b7c2f9f75cf9e8a80e /flake
downloadnixos-config-a806c6776ea19ec068b7a60fde211310fd41d156.zip
Initial commit
Diffstat (limited to '')
-rw-r--r--flake.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 00000000..c8ba31df
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,21 @@
+# vim: ts=2
+{
+ description = "Nixos system config";
+
+ inputs = {
+ nixpkgs.url = "nixpkgs/nixos-unstable";
+ home-manager.url = "github:nix-community/home-manager/master";
+ };
+
+ outputs = {
+ self,
+ nixpkgs,
+ ...
+ } @ attrs: {
+ nixosConfigurations.IDOHVE = nixpkgs.lib.nixosSystem {
+ system = "x86_64-linux";
+ specialArgs = attrs;
+ modules = [./hosts/IDOHVE/configuration.nix];
+ };
+ };
+}