From f7aac1752cc2ff0811f9bcf1370c4948b27f551f Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Tue, 19 Nov 2024 11:27:16 +0200 Subject: Removed some unneeded stuff --- hosts/laptop-nixos/home.nix | 16 ---------------- scripts/nvim.sh | 3 --- scripts/zypper_rm_unused.sh | 6 ------ 3 files changed, 25 deletions(-) delete mode 100755 scripts/nvim.sh delete mode 100755 scripts/zypper_rm_unused.sh diff --git a/hosts/laptop-nixos/home.nix b/hosts/laptop-nixos/home.nix index 04b5c73..1dddd36 100644 --- a/hosts/laptop-nixos/home.nix +++ b/hosts/laptop-nixos/home.nix @@ -1,8 +1,6 @@ { config, pkgs, ... }: { - # Home Manager needs a bit of information about you and the paths it should - # manage. home.username = "kyren"; home.homeDirectory = "/home/kyren"; @@ -15,8 +13,6 @@ # release notes. home.stateVersion = "24.05"; # Please read the comment before changing. - # The home.packages option allows you to install Nix packages into your - # environment. home.packages = with pkgs; [ keepassxc discord @@ -39,19 +35,7 @@ fd ripgrep wakatime-cli - - # # It is sometimes useful to fine-tune packages, for example, by applying - # # overrides. You can do that directly here, just don't forget the - # # parentheses. Maybe you want to install Nerd Fonts with a limited number of - # # fonts? (nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) - - # # You can also create simple shell scripts directly inside your - # # configuration. For example, this adds a command 'my-hello' to your - # # environment: - # (pkgs.writeShellScriptBin "my-hello" '' - # echo "Hello, ${config.home.username}!" - # '') ]; # Home Manager is pretty good at managing dotfiles. The primary way to manage diff --git a/scripts/nvim.sh b/scripts/nvim.sh deleted file mode 100755 index 52ccefb..0000000 --- a/scripts/nvim.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/zsh - -TERM=tmux-256color nvim "$@" diff --git a/scripts/zypper_rm_unused.sh b/scripts/zypper_rm_unused.sh deleted file mode 100755 index 98a0f2e..0000000 --- a/scripts/zypper_rm_unused.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -# Copied from somewhere on the internet -zypper packages --unneeded | awk -F'|' 'NR==0 || NR==1 || NR==2 || NR==3 || NR==4 {next} {print $3}' > list -while read p; do zypper info $p && zypper se --requires $p && zypper rm $p; done < list -rm -rf list -- cgit v1.3.1