Update
This commit is contained in:
13
flake.lock
generated
13
flake.lock
generated
@@ -197,11 +197,11 @@
|
||||
"nixpkgs": "nixpkgs"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1784601628,
|
||||
"narHash": "sha256-crcorpWHo3WxScdmuSw68QjhBt2FCSYws/uNmh1Lt1g=",
|
||||
"lastModified": 1784815837,
|
||||
"narHash": "sha256-fVBvarngVvsCS1QaKU2LSa/YmZn2l8oOkXI+EYWlURc=",
|
||||
"owner": "modem-dev",
|
||||
"repo": "hunk",
|
||||
"rev": "b94aab6b127bc5af0faec94e0e231a4c64251acf",
|
||||
"rev": "b358e0c92eabaa35529d3f3d9afaad2944c825e4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -254,15 +254,14 @@
|
||||
"locked": {
|
||||
"lastModified": 1784500460,
|
||||
"narHash": "sha256-UvORnAxTRHax7RG74W8Z2t4GvIkX6AjJ5kk0QlwZomo=",
|
||||
"owner": "LnL7",
|
||||
"owner": "nix-darwin",
|
||||
"repo": "nix-darwin",
|
||||
"rev": "57a3171f94705599a2499248ca5758d5eb47c0e0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "LnL7",
|
||||
"repo": "nix-darwin",
|
||||
"type": "github"
|
||||
"id": "nix-darwin",
|
||||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
"nixos-vscode-server": {
|
||||
|
||||
54
flake.nix
54
flake.nix
@@ -24,9 +24,9 @@
|
||||
inputs.nixpkgs.follows = "nixpkgs-wsl-stable";
|
||||
};
|
||||
|
||||
nix-darwin = {
|
||||
url = "github:LnL7/nix-darwin";
|
||||
};
|
||||
# nix-darwin = {
|
||||
# url = "github:LnL7/nix-darwin";
|
||||
# };
|
||||
|
||||
# individual packages
|
||||
sops-nix = {
|
||||
@@ -52,11 +52,11 @@
|
||||
let
|
||||
linuxSystem = "x86_64-linux";
|
||||
linuxAarchSystem = "aarch64-linux";
|
||||
darwinSystem = "aarch64-darwin";
|
||||
# darwinSystem = "aarch64-darwin";
|
||||
|
||||
pkgsLinux = nixpkgs.legacyPackages.${linuxSystem};
|
||||
pkgsLinuxAarch = nixpkgs.legacyPackages.${linuxAarchSystem};
|
||||
pkgsDarwin = nixpkgs.legacyPackages.${darwinSystem};
|
||||
# pkgsDarwin = nixpkgs.legacyPackages.${darwinSystem};
|
||||
in
|
||||
{
|
||||
|
||||
@@ -113,17 +113,17 @@
|
||||
};
|
||||
};
|
||||
|
||||
# --- Darwin Systems (Mac) ---
|
||||
darwinConfigurations."Martins-MacBook-Pro" = nix-darwin.lib.darwinSystem {
|
||||
specialArgs = { inherit self inputs; };
|
||||
modules = [
|
||||
./hosts/home/darwin/configuration.nix
|
||||
{
|
||||
nixpkgs.hostPlatform = darwinSystem;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
# # --- Darwin Systems (Mac) ---
|
||||
# darwinConfigurations."Martins-MacBook-Pro" = nix-darwin.lib.darwinSystem {
|
||||
# specialArgs = { inherit self inputs; };
|
||||
# modules = [
|
||||
# ./hosts/home/darwin/configuration.nix
|
||||
# {
|
||||
# nixpkgs.hostPlatform = darwinSystem;
|
||||
# }
|
||||
# ];
|
||||
# };
|
||||
#
|
||||
# --- Standalone Home Manager ---
|
||||
homeConfigurations = {
|
||||
"nix@work" = home-manager.lib.homeManagerConfiguration {
|
||||
@@ -138,17 +138,17 @@
|
||||
];
|
||||
};
|
||||
|
||||
"nix@home" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs-stable.legacyPackages.${darwinSystem};
|
||||
extraSpecialArgs = { inherit self inputs; };
|
||||
modules = [
|
||||
./hosts/home/nix/home.nix
|
||||
{
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nixpkgs.overlays = [ (import ./modules/overlays/unstable.nix nixpkgs) ];
|
||||
}
|
||||
];
|
||||
};
|
||||
# "nix@home" = home-manager.lib.homeManagerConfiguration {
|
||||
# pkgs = nixpkgs-stable.legacyPackages.${darwinSystem};
|
||||
# extraSpecialArgs = { inherit self inputs; };
|
||||
# modules = [
|
||||
# ./hosts/home/nix/home.nix
|
||||
# {
|
||||
# nixpkgs.config.allowUnfree = true;
|
||||
# nixpkgs.overlays = [ (import ./modules/overlays/unstable.nix nixpkgs) ];
|
||||
# }
|
||||
# ];
|
||||
# };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user