Install basic nix dawrin

This commit is contained in:
2024-10-22 17:49:24 +02:00
parent 3741421208
commit 122d9f034c
2 changed files with 37 additions and 0 deletions
Generated
+21
View File
@@ -333,6 +333,26 @@
"type": "github"
}
},
"nix-darwin": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1729579044,
"narHash": "sha256-0kEUVl5s8LHbK4/xEePflsdYVwG+RRFSIofSvITYmIU=",
"owner": "LnL7",
"repo": "nix-darwin",
"rev": "64d9d1ae25215c274c37e3e4016977a6779cf0d3",
"type": "github"
},
"original": {
"owner": "LnL7",
"repo": "nix-darwin",
"type": "github"
}
},
"nix-index-database": {
"inputs": {
"nixpkgs": [
@@ -431,6 +451,7 @@
"home-manager": "home-manager",
"impermanence": "impermanence",
"neovim-nightly": "neovim-nightly",
"nix-darwin": "nix-darwin",
"nix-index-database": "nix-index-database",
"nixos-hardware": "nixos-hardware",
"nixos-wsl": "nixos-wsl",
+16
View File
@@ -38,6 +38,10 @@
url = "github:zoriya/river/br-v0.3.5";
flake = false;
};
nix-darwin = {
url = "github:LnL7/nix-darwin";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {
@@ -51,6 +55,7 @@
impermanence,
nixos-hardware,
nix-index-database,
nix-darwin,
...
} @ inputs: let
user = "zoriya";
@@ -134,5 +139,16 @@
lucca = mkSystem "lucca" "wsl" [];
};
darwinConfigurations."toto" = nix-darwin.lib.darwinSystem {
modules = [
{
nixpkgs.hostPlatform = "aarch64-darwin";
system.stateVersion = 5;
services.nix-daemon.enable = true;
}
];
};
};
}