Dotfiles : Use self as input.

This commit is contained in:
Dmitry Voronin 2024-03-06 05:40:28 +03:00
parent 8fbeda4648
commit beb438451d
3 changed files with 2 additions and 23 deletions

View file

@ -1,21 +1,5 @@
{
"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": {
"inputs": {
"nixpkgs": [
@ -488,7 +472,6 @@
},
"root": {
"inputs": {
"dotfiles": "dotfiles",
"home-manager": "home-manager",
"nix-on-droid": "nix-on-droid",
"nixpkgs": "nixpkgs",

View file

@ -6,10 +6,6 @@
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
dotfiles = {
url = "git+https://git.voronind.com/voronind/nixos.git";
flake = false;
};
# Android.
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.
nixosModules.const = {
hashedPassword = "$y$j9T$oqCB16i5E2t1t/HAWaFd5.$tTaHtAcifXaDVpTcRv.yH2/eWKxKE9xM8KcqXHfHrD7"; # Use `mkpasswd`.

View file

@ -1,3 +1,3 @@
{ inputs, ... }: {
environment.etc.dotfiles.source = inputs.dotfiles;
environment.etc.dotfiles.source = inputs.self;
}