Using https://github.com/srid/nixos-flake/pull/39
This commit is contained in:
Sridhar Ratnakumar 2023-10-29 10:38:41 -04:00
parent f77cc26ce1
commit c618bc35ab
3 changed files with 13 additions and 12 deletions

19
flake.lock generated
View file

@ -517,11 +517,11 @@
"nixpkgs-lib": "nixpkgs-lib_2"
},
"locked": {
"lastModified": 1668450977,
"narHash": "sha256-cfLhMhnvXn6x1vPm+Jow3RiFAUSCw/l1utktCw5rVA4=",
"lastModified": 1698579227,
"narHash": "sha256-KVWjFZky+gRuWennKsbo6cWyo7c/z/VgCte5pR9pEKg=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "d591857e9d7dd9ddbfba0ea02b43b927c3c0f1fa",
"rev": "f76e870d64779109e41370848074ac4eaa1606ec",
"type": "github"
},
"original": {
@ -1116,15 +1116,16 @@
},
"nixos-flake": {
"locked": {
"lastModified": 1692742948,
"narHash": "sha256-19LQQFGshuQNrrXZYVt+mWY0O3NbhEXeMy3MZwzYZGo=",
"lastModified": 1698590095,
"narHash": "sha256-VmSP4wfl2kJjOkglHdhBbkfnbalrk5o6oR1q5Xgxwv0=",
"owner": "srid",
"repo": "nixos-flake",
"rev": "2c25190ceacdaaae7e8afbecfa87096bb499a431",
"rev": "a9c4d806691aa8b141768451e4fe1dee8eedb98c",
"type": "github"
},
"original": {
"owner": "srid",
"ref": "darwinModules_",
"repo": "nixos-flake",
"type": "github"
}
@ -1218,11 +1219,11 @@
"nixpkgs-lib_2": {
"locked": {
"dir": "lib",
"lastModified": 1665349835,
"narHash": "sha256-UK4urM3iN80UXQ7EaOappDzcisYIuEURFRoGQ/yPkug=",
"lastModified": 1696019113,
"narHash": "sha256-X3+DKYWJm93DRSdC5M6K5hLqzSya9BjibtBsuARoPco=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "34c5293a71ffdb2fe054eb5288adc1882c1eb0b1",
"rev": "f5892ddac112a1e9b3612c39af1b72987ee5783a",
"type": "github"
},
"original": {

View file

@ -10,7 +10,7 @@
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
nixos-hardware.url = "github:NixOS/nixos-hardware";
nixos-flake.url = "github:srid/nixos-flake";
nixos-flake.url = "github:srid/nixos-flake/darwinModules_";
disko.url = "github:nix-community/disko";
disko.inputs.nixpkgs.follows = "nixpkgs";
@ -44,7 +44,7 @@
};
outputs = inputs@{ self, ... }:
inputs.flake-parts.lib.mkFlake { inherit (inputs) self; } {
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = [ "x86_64-linux" "aarch64-darwin" ];
imports = [
inputs.treefmt-nix.flakeModule

View file

@ -12,7 +12,7 @@
};
default.imports = [
self.darwinModules.home-manager
self.darwinModules_.home-manager
self.darwinModules.my-home
self.nixosModules.common
];