diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-09-20 16:12:48 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-09-20 16:12:48 +0200 |
commit | 00b706095dad2bf169d36bf0fcdb50a8ff1fb5f5 (patch) | |
tree | e6caa732552252f2557f36bd24fa07e9b22fbf49 /hosts/configuration.nix | |
parent | dotfiles: swaylock: Change ring and ring-key colors (diff) | |
download | nixos-config-00b706095dad2bf169d36bf0fcdb50a8ff1fb5f5.tar.gz nixos-config-00b706095dad2bf169d36bf0fcdb50a8ff1fb5f5.tar.bz2 nixos-config-00b706095dad2bf169d36bf0fcdb50a8ff1fb5f5.zip |
Flake: Remove dotfiles input
Instead we use it directly. This removes a lot of hassle + limitations with flake inputs from files
Diffstat (limited to '')
-rw-r--r-- | hosts/configuration.nix | 4 |
1 files changed, 2 insertions, 2 deletions
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; |