diff --git a/home-manager/desktop/sway.nix b/home-manager/desktop/sway.nix deleted file mode 100644 index 9d049b1..0000000 --- a/home-manager/desktop/sway.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ - self, - config, - pkgs, - ... -}: -{ - imports = [ - self.homeManagerModules.dotfiles - ./wayland.nix - ]; - - home.packages = with pkgs; [ - tofi - i3status-rust - wlsunset - kanshi - grim - slurp - playerctl - swaybg - ]; - - xdg.configFile = { - "sway".source = "${config.dotfiles.path}/.config/sway"; - "swaylock".source = "${config.dotfiles.path}/.config/swaylock"; - "swayidle".source = "${config.dotfiles.path}/.config/swayidle"; - "kanshi".source = "${config.dotfiles.path}/.config/kanshi"; - "i3status-rust".source = "${config.dotfiles.path}/.config/i3status-rust"; - "tofi/config".source = "${config.dotfiles.path}/.config/tofi/config"; - }; -} diff --git a/home/.config/dotfiles/clone.sh b/home/.config/dotfiles/clone.sh deleted file mode 100644 index bca0a85..0000000 --- a/home/.config/dotfiles/clone.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh - -DOTFILES_GIT_URL='git@git.sr.ht:~rpqt/dotfiles' - -# The first argument can be the destination folder -if [ $# -eq 1 ]; then - DOTFILES_DIR="$1" -else - DOTFILES_DIR="$HOME/.dotfiles" -fi - -echo "$DOTFILES_DIR" >> "$HOME/.gitignore" - -git clone --bare "$DOTFILES_GIT_URL" "$DOTFILES_DIR" - -alias dotfiles='/usr/bin/git --git-dir=$DOTFILES_DIR --work-tree=$HOME' - -dotfiles config --local status.showUntrackedFiles no - -dotfiles checkout - -tee "$HOME/.config/git/config" >/dev/null <