cleanup packages, use programs where possible

This commit is contained in:
Felix Suchert 2024-02-06 16:36:05 +01:00
parent b958060cd5
commit 2949d209b7
Signed by: feliix42
GPG key ID: 24363525EA0E8A99
3 changed files with 42 additions and 32 deletions

View file

@ -171,14 +171,39 @@
# ------------ programs ----------------------------------------------------- # ------------ programs -----------------------------------------------------
programs.fish.enable = true; programs.fish.enable = true;
programs.vim.defaultEditor = true;
programs.vim.enable = true;
# programs.vim.defaultEditor = true;
programs.neovim = {
enable = true;
defaultEditor = true;
};
programs.ssh.setXAuthLocation = true; programs.ssh.setXAuthLocation = true;
# services.emacs = { programs.thunar = {
# install = true; enable = true;
# enable = false; plugins = with pkgs.xfce; [ thunar-archive-plugin thunar-volman ];
# }; };
programs.firefox = {
enable = true;
package = pkgs.firefox-wayland;
};
programs.git = {
enable = true;
package = pkgs.gitAndTools.gitFull;
};
programs.mosh.enable = true;
programs.nix-index = {
enable = true;
enableZshIntegration = true;
enableBashIntegration = true;
enableFishIntegration = true;
};
# List of packages installed in system profile. # List of packages installed in system profile.
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
@ -186,6 +211,7 @@
wget wget
w3m w3m
htop htop
btop
bat bat
lsd lsd
unstable.eza unstable.eza
@ -201,7 +227,6 @@
usbutils usbutils
moreutils moreutils
file file
mosh
#tmux #tmux
zellij zellij
libqalculate libqalculate
@ -220,15 +245,13 @@
neomutt urlview neomutt urlview
notmuch notmuch
aspell # spell checking in mail aspell # spell checking in mail
# personal mailing
thunderbirdPackages.thunderbird-115
## Rust ## Rust
rustup rustup
cargo-flamegraph cargo-flamegraph
cargo-watch cargo-watch
unstable.rust-analyzer unstable.rust-analyzer
unstable.helix #unstable.helix
## other programming languages and compilers ## other programming languages and compilers
stack stack
@ -246,7 +269,6 @@
## nix-community/comma ## nix-community/comma
comma comma
nix-output-monitor nix-output-monitor
nix-index
nil nil
# provided by my own overlay # provided by my own overlay
@ -266,28 +288,17 @@
## I heard you like man pages? ## I heard you like man pages?
man-pages man-pages
## git and friends ## git and friends
#git
#git-doc
gitAndTools.gitFull
gitAndTools.delta gitAndTools.delta
gitAndTools.gitui gitAndTools.gitui
## terminal, browsers, text editing, note taking ## terminal, browsers, text editing, note taking
alacritty alacritty
# doesn't support the MLIR tooling from the marketplace :(
#unstable.vscodium
# TODO(feliix42): Fix at some point! # TODO(feliix42): Fix at some point!
unstable.vscode.fhs unstable.vscode.fhs
neovim
tree-sitter # for NVIM completions tree-sitter # for NVIM completions
ghostwriter ghostwriter
firefox-wayland
unstable.obsidian unstable.obsidian
## time tracking
# watson
hledger hledger-ui hledger-web
## file managers ## file managers
ranger ranger
xfce.thunar
## file sharing ## file sharing
nextcloud-client nextcloud-client
## document viewers ## document viewers
@ -315,7 +326,6 @@
slack slack
tdesktop tdesktop
signal-desktop signal-desktop
weechat
## networking ## networking
openconnect openconnect
]; ];

View file

@ -23,11 +23,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1706182238, "lastModified": 1707211557,
"narHash": "sha256-Ti7CerGydU7xyrP/ow85lHsOpf+XMx98kQnPoQCSi1g=", "narHash": "sha256-LTKTzZ6fM5j8XWXf51IMBzDaOaJg9kYWLUZxoIhzRN8=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "f84eaffc35d1a655e84749228cde19922fcf55f1", "rev": "6e5cc385fc8cf5ca6495d70243074ccdea9f64c7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -39,11 +39,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1706373441, "lastModified": 1707091808,
"narHash": "sha256-S1hbgNbVYhuY2L05OANWqmRzj4cElcbLuIkXTb69xkk=", "narHash": "sha256-LahKBAfGbY836gtpVNnWwBTIzN7yf/uYM/S0g393r0Y=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "56911ef3403a9318b7621ce745f5452fb9ef6867", "rev": "9f2ee8c91ac42da3ae6c6a1d21555f283458247e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -62,11 +62,11 @@
}, },
"unstable": { "unstable": {
"locked": { "locked": {
"lastModified": 1706371002, "lastModified": 1707092692,
"narHash": "sha256-dwuorKimqSYgyu8Cw6ncKhyQjUDOyuXoxDTVmAXq88s=", "narHash": "sha256-ZbHsm+mGk/izkWtT4xwwqz38fdlwu7nUUKXTOmm4SyE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c002c6aa977ad22c60398daaa9be52f2203d0006", "rev": "faf912b086576fd1a15fca610166c98d47bc667e",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -51,7 +51,6 @@ in
extraPackages = with pkgs; [ extraPackages = with pkgs; [
swaylock-effects swaylock-effects
swayidle swayidle
xwayland # for legacy apps
waybar waybar
wl-clipboard wl-clipboard
mako # notification daemon mako # notification daemon
@ -87,6 +86,7 @@ in
}; };
programs.waybar.enable = true; programs.waybar.enable = true;
programs.xwayland.enable = true; # for legacy apps
services.redshift = { services.redshift = {
enable = true; enable = true;