add home-manager

This commit is contained in:
Motiejus Jakštys 2023-08-18 13:47:27 +03:00
parent bbf562d205
commit 54447818fa
2 changed files with 29 additions and 7 deletions

26
flake.lock generated
View File

@ -3,7 +3,9 @@
"agenix": {
"inputs": {
"darwin": [],
"home-manager": [],
"home-manager": [
"home-manager"
],
"nixpkgs": [
"nixpkgs"
]
@ -80,6 +82,27 @@
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1692099905,
"narHash": "sha256-/pSusGhmIdSdAaywQRFA5dVbfdIzlWQTecM+E46+cJ0=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "2a6679aa9cc3872c29ba2a57fe1b71b3e3c5649f",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "release-23.05",
"repo": "home-manager",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1692207601,
@ -101,6 +124,7 @@
"agenix": "agenix",
"deploy-rs": "deploy-rs",
"flake-utils": "flake-utils",
"home-manager": "home-manager",
"nixpkgs": "nixpkgs"
}
},

View File

@ -5,15 +5,12 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
flake-utils.url = "github:numtide/flake-utils";
# TODO: called with unexpected argument 'home-manager'
#home-manager.url = "github:nix-community/home-manager/release-23.05";
#home-manager.inputs.nixpkgs.follows = "nixpkgs";
home-manager.url = "github:nix-community/home-manager/release-23.05";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
agenix.url = "github:ryantm/agenix";
agenix.inputs.nixpkgs.follows = "nixpkgs";
# see home-manager above
#agenix.inputs.home-manager.follows = "home-manager";
agenix.inputs.home-manager.follows = "";
agenix.inputs.home-manager.follows = "home-manager";
agenix.inputs.darwin.follows = "";
deploy-rs.url = "github:serokell/deploy-rs";
@ -32,6 +29,7 @@
agenix,
deploy-rs,
flake-utils,
home-manager,
} @ inputs: let
myData = import ./data.nix;
in