about summary refs log tree commit diff
path: root/hosts/home.nix
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-20 16:12:48 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-20 16:12:48 +0200
commit00b706095dad2bf169d36bf0fcdb50a8ff1fb5f5 (patch)
treee6caa732552252f2557f36bd24fa07e9b22fbf49 /hosts/home.nix
parentdotfiles: swaylock: Change ring and ring-key colors (diff)
downloadnixos-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.nix28
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 = {