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/home.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 'hosts/home.nix')
-rw-r--r-- | hosts/home.nix | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/hosts/home.nix b/hosts/home.nix index 8b75262..dc77595 100644 --- a/hosts/home.nix +++ b/hosts/home.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, inputs, user, hostname, secrets, location, ... }: +{ config, lib, pkgs, inputs, user, hostname, secrets, dotfiles, location, ... }: { imports = [ ]; @@ -54,13 +54,13 @@ xsession.windowManager.xmonad = { enable = true; enableContribAndExtras = true; - config = "${inputs.dotfiles}/xmonad.hs"; + config = "${dotfiles}/xmonad.hs"; }; programs = { xmobar = { enable = true; - extraConfig = builtins.readFile "${inputs.dotfiles}/xmobar.hs"; + extraConfig = builtins.readFile "${dotfiles}/xmobar.hs"; }; }; @@ -138,7 +138,7 @@ doom-themes ]; - extraConfig = builtins.readFile "${inputs.dotfiles}/.emacs"; + extraConfig = builtins.readFile "${dotfiles}/.emacs"; }; firefox = { @@ -165,8 +165,8 @@ bash = { enable = true; - bashrcExtra = builtins.readFile "${inputs.dotfiles}/.bashrc"; - profileExtra = builtins.readFile "${inputs.dotfiles}/.bash_profile"; + bashrcExtra = builtins.readFile "${dotfiles}/.bashrc"; + profileExtra = builtins.readFile "${dotfiles}/.bash_profile"; }; zsh = { @@ -269,18 +269,18 @@ }; xdg = { - configFile."sway/config".source = "${inputs.dotfiles}/sway_config"; - configFile."river/".source = "${inputs.dotfiles}/river/"; - configFile."waybar/".source = "${inputs.dotfiles}/waybar/"; - configFile."zathura/zathurarc".source = "${inputs.dotfiles}/zathurarc"; - configFile."dunst/dunstrc".source = "${inputs.dotfiles}/dunstrc"; + configFile."sway/config".source = "${dotfiles}/sway_config"; + configFile."river/".source = "${dotfiles}/river/"; + configFile."waybar/".source = "${dotfiles}/waybar/"; + configFile."zathura/zathurarc".source = "${dotfiles}/zathurarc"; + configFile."dunst/dunstrc".source = "${dotfiles}/dunstrc"; }; home.file = { - ".xinitrc".source = "${inputs.dotfiles}/.xinitrc"; - ".Xresources".source = "${inputs.dotfiles}/.Xresources"; + ".xinitrc".source = "${dotfiles}/.xinitrc"; + ".Xresources".source = "${dotfiles}/.Xresources"; - ".scripts/".source = "${inputs.dotfiles}/scripts/"; + ".scripts/".source = "${dotfiles}/scripts/"; }; home.file = { |