feat(tools): add rust and clean

This commit is contained in:
Florian Schmitt 2024-04-24 09:40:27 +03:00
parent 7dbb179968
commit c0df020743
2 changed files with 4 additions and 33 deletions

View file

@ -30,6 +30,7 @@
ansible ansible
bat bat
btop btop
cargo
catnip catnip
cmatrix cmatrix
coreutils coreutils
@ -61,6 +62,7 @@
pciutils pciutils
pinentry pinentry
ripgrep ripgrep
rustc
slides slides
starship starship
syncthing syncthing

View file

@ -1,27 +1,11 @@
# Window Manager and desktop programs # Window Manager and desktop programs
{ config, lib, pkgs, ... }: { lib, pkgs, ... }:
let
# unstableTarball =
# fetchTarball
# https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz;
in
{ {
sound.enable = true; sound.enable = true;
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
security.rtkit.enable = true; security.rtkit.enable = true;
services = { services = {
# sonarr = {
# enable = true;
# openFirewall = true; # http://locahost:8989
# };
# prowlarr = {
# enable = true;
# openFirewall = true; # http://locahost:9696
# };
#blueman.enable = true;
#openvpn.restartAfterSleep = false;
openvpn.servers = { openvpn.servers = {
arn = { arn = {
config = '' config /home/mrflos/Nextcloud/vpn\ ARN/2023/vpn510.conf ''; config = '' config /home/mrflos/Nextcloud/vpn\ ARN/2023/vpn510.conf '';
@ -33,12 +17,6 @@ in
alsa.enable = true; alsa.enable = true;
alsa.support32Bit = true; alsa.support32Bit = true;
pulse.enable = true; pulse.enable = true;
# If you want to use JACK applications, uncomment this
#jack.enable = true;
# use the example session manager (no others are packaged yet so this is enabled by default,
# no need to redefine it in your config for now)
#media-session.enable = true;
}; };
printing.enable = true; # Enable CUPS to print documents. printing.enable = true; # Enable CUPS to print documents.
printing.drivers = [ pkgs.brlaser ]; printing.drivers = [ pkgs.brlaser ];
@ -99,16 +77,7 @@ in
# Allow unfree packages # Allow unfree packages
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
# access to unstable nixpkgs
# nixpkgs.config = {
# packageOverrides = pkgs: with pkgs; {
# unstable = import unstableTarball {
# config = config.nixpkgs.config;
# };
# };
# };
# no kde bloat # no kde bloat
environment.plasma5.excludePackages = with pkgs.libsForQt5; [ environment.plasma5.excludePackages = with pkgs.libsForQt5; [
baloo baloo