From 00b706095dad2bf169d36bf0fcdb50a8ff1fb5f5 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Tue, 20 Sep 2022 16:12:48 +0200 Subject: Flake: Remove dotfiles input Instead we use it directly. This removes a lot of hassle + limitations with flake inputs from files --- hosts/configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hosts/configuration.nix') diff --git a/hosts/configuration.nix b/hosts/configuration.nix index 5bf0cf0..ce2a577 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -1,4 +1,4 @@ -{ secrets, lib, pkgs, config, hostname, inputs, user, timezone, ... }: { +{ secrets, dotfiles, lib, pkgs, config, hostname, inputs, user, timezone, ... }: { imports = [ "${inputs.impermanence}/nixos.nix" @@ -38,7 +38,7 @@ networking = { hostName = hostname; # Define your hostname. - extraHosts = builtins.readFile "${inputs.dotfiles}/hosts"; + extraHosts = builtins.readFile "${dotfiles}/hosts"; nameservers = [ "9.9.9.9" ]; firewall = { enable = true; -- cgit 1.4.1