summaryrefslogtreecommitdiff
path: root/system.nix
diff options
context:
space:
mode:
authorGrace Yoder <grace_yoder@outlook.com>2026-10-03 14:54:12 -0400
committerGrace Yoder <grace_yoder@outlook.com>2026-10-05 15:08:18 -0400
commitfdde154c63eeb8e6aac5129f9226f38c4b0b8bf0 (patch)
treee34e1728e20886595bb7db4bd81939f3b694d755 /system.nix
parent1f58bc3f3c9947c988567c8c16a853ff918f3e98 (diff)
hamano againvulcan
Diffstat (limited to 'system.nix')
-rw-r--r--system.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/system.nix b/system.nix
new file mode 100644
index 0000000..56a65c3
--- /dev/null
+++ b/system.nix
@@ -0,0 +1,22 @@
+let
+ nixpkgs = builtins.fetchTarball "https://github.com/NixOS/nixpkgs/archive/master.tar.gz";
+ home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz";
+in
+ import "${nixpkgs}/nixos" {
+ # home-manager = home-manager;
+
+ configuration = {
+
+ imports = [ ./configuration.nix ];
+
+ nix.nixPath = [
+ "nixpkgs=${nixpkgs}"
+ "home-manager=${home-manager}"
+ "nixos-config=${toString ./configuration.nix}"
+ "darwin-config=${toString ./configuration.nix}"
+ "/nix/var/nix/profiles/per-user/root/channels"
+ ];
+
+ nixpkgs.config.allowUnfree = true;
+ };
+ }