Dotfiles : Use self as input.
This commit is contained in:
parent
8fbeda4648
commit
beb438451d
17
flake.lock
17
flake.lock
|
@ -1,21 +1,5 @@
|
||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"dotfiles": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1709511258,
|
|
||||||
"narHash": "sha256-BBoMFDsX8GrH8nzulpw4mHk3uI+ga5lwsbYhZ4amMy0=",
|
|
||||||
"ref": "refs/heads/main",
|
|
||||||
"rev": "2cfcfbdc192aa90e9960f6b8ca6ea6dee03a0920",
|
|
||||||
"revCount": 4,
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://git.voronind.com/voronind/nixos.git"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://git.voronind.com/voronind/nixos.git"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"home-manager": {
|
"home-manager": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -488,7 +472,6 @@
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"dotfiles": "dotfiles",
|
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"nix-on-droid": "nix-on-droid",
|
"nix-on-droid": "nix-on-droid",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
|
|
|
@ -6,10 +6,6 @@
|
||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
dotfiles = {
|
|
||||||
url = "git+https://git.voronind.com/voronind/nixos.git";
|
|
||||||
flake = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Android.
|
# Android.
|
||||||
nix-on-droid = {
|
nix-on-droid = {
|
||||||
|
@ -101,7 +97,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, dotfiles, nix-on-droid, home-manager, ... } @inputs: {
|
outputs = { self, nixpkgs, nix-on-droid, home-manager, ... } @inputs: {
|
||||||
# Constant values.
|
# Constant values.
|
||||||
nixosModules.const = {
|
nixosModules.const = {
|
||||||
hashedPassword = "$y$j9T$oqCB16i5E2t1t/HAWaFd5.$tTaHtAcifXaDVpTcRv.yH2/eWKxKE9xM8KcqXHfHrD7"; # Use `mkpasswd`.
|
hashedPassword = "$y$j9T$oqCB16i5E2t1t/HAWaFd5.$tTaHtAcifXaDVpTcRv.yH2/eWKxKE9xM8KcqXHfHrD7"; # Use `mkpasswd`.
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
{ inputs, ... }: {
|
{ inputs, ... }: {
|
||||||
environment.etc.dotfiles.source = inputs.dotfiles;
|
environment.etc.dotfiles.source = inputs.self;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue