From 9f97e8b29da0491f66036af53eefb0f8b2677189 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Tue, 20 Feb 2024 21:37:40 +0300 Subject: [PATCH] System : Add dotfiles input. --- .config/linux/system/flake.nix | 3 ++- .config/linux/system/module/common/Dotfile.nix | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/linux/system/flake.nix b/.config/linux/system/flake.nix index 991ac03..d37b2eb 100644 --- a/.config/linux/system/flake.nix +++ b/.config/linux/system/flake.nix @@ -1,6 +1,7 @@ { inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + dotfiles.url = "git+https://git.voronind.com/voronind/linux.git"; }; outputs = { self, nixpkgs } @inputs: rec { diff --git a/.config/linux/system/module/common/Dotfile.nix b/.config/linux/system/module/common/Dotfile.nix index 4950bbb..19b938c 100644 --- a/.config/linux/system/module/common/Dotfile.nix +++ b/.config/linux/system/module/common/Dotfile.nix @@ -1,5 +1,4 @@ -{ pkgs, ... }: -let +{ pkgs, ... }: let unit = { description = "Install/update dotfiles on startup."; wantedBy = [ "multi-user.target" ];