diff --git a/modules/home/scripts/commands/movfetch.nix b/modules/home/files.nix similarity index 92% rename from modules/home/scripts/commands/movfetch.nix rename to modules/home/files.nix index 64f181f..df8afad 100644 --- a/modules/home/scripts/commands/movfetch.nix +++ b/modules/home/files.nix @@ -1,10 +1,7 @@ +{ self, ...}: + { - self, - pkgs, - ... -}: -{ - home.file.".config/neofetch/config".text = '' + home.file.".config/neofetch/config.conf".text = '' username=$(whoami) name_length=''${#username} total_width=40 @@ -111,8 +108,4 @@ xoffset=0 stdout="off" ''; - - movfetch = pkgs.writeShellScriptBin "movfetch" '' - neofetch --config $HOME/.config/neofetch/config - ''; } diff --git a/modules/home/home-manager.nix b/modules/home/home-manager.nix index 8ffc4d0..16a3c82 100644 --- a/modules/home/home-manager.nix +++ b/modules/home/home-manager.nix @@ -29,6 +29,7 @@ in { ./programs ./environment ./scripts + ./files.nix ]; home = { username = "${username}";