chore: cleanup config and remove outdated/uncompilable tools

… printers are a mess :)
This commit is contained in:
Pierre Martin
2022-08-16 08:22:47 +02:00
parent 80250a8100
commit d4c9000953
2 changed files with 5 additions and 48 deletions

View File

@@ -25,15 +25,6 @@ watch = true
network = "traefik" network = "traefik"
''; '';
# https://github.com/msteen/nixos-vsliveshare
#imports = [
# "${fetchTarball "https://github.com/msteen/nixos-vsliveshare/tarball/master"}/modules/vsliveshare/home.nix"
#];
#services.vsliveshare = {
# enable = true;
# nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/61cc1f0dc07c2f786e0acfd07444548486f4153b";
#};
home.packages = with pkgs; [ home.packages = with pkgs; [
latest.wget latest.wget
latest.curl latest.curl
@@ -108,10 +99,8 @@ network = "traefik"
latest.filezilla latest.filezilla
latest.vokoscreen latest.vokoscreen
latest.ffmpeg latest.ffmpeg
#latest.shutter
latest.flameshot latest.flameshot
latest.gimp latest.gimp
latest.inkscape
latest.copyq latest.copyq
latest.wireshark latest.wireshark
latest.gcalcli latest.gcalcli
@@ -128,9 +117,7 @@ network = "traefik"
unclutter-xfixes unclutter-xfixes
latest.playerctl latest.numlockx latest.playerctl latest.numlockx
#latest.nodejs-14_x
latest.nodejs-16_x latest.nodejs-16_x
# latest.nodejs-17_x
latest.cypress latest.cypress
latest.docker latest.docker
latest.docker-compose latest.docker-compose
@@ -148,9 +135,6 @@ network = "traefik"
latest.checkbashisms latest.checkbashisms
latest.shellcheck latest.shellcheck
# OcciPrint
latest.hplipWithPlugin
# Perso # Perso
latest.nextcloud-client latest.nextcloud-client
latest.rclone latest.rclone
@@ -158,12 +142,9 @@ network = "traefik"
latest.gparted latest.gparted
]; ];
# Doc: https://rycee.gitlab.io/home-manager/options.html
# vscode-with-extensions.override { vscodeExtensions = with vscode-extensions; [ ms-vsliveshare.vsliveshare ]; }
programs.vscode = { programs.vscode = {
enable = true; enable = true;
extensions = [ latest.vscode-extensions.ms-vsliveshare.vsliveshare ]; extensions = [];
}; };
services.unclutter.enable = true; services.unclutter.enable = true;
@@ -181,7 +162,6 @@ network = "traefik"
terminal = "sakura"; terminal = "sakura";
}; };
# TODO polybar
xsession.windowManager.i3 = let xsession.windowManager.i3 = let
modifier = "Mod4"; modifier = "Mod4";
in { in {
@@ -268,10 +248,6 @@ network = "traefik"
}; };
}; };
programs.direnv = {
enable = true;
};
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableAutosuggestions = true; enableAutosuggestions = true;
@@ -289,7 +265,6 @@ network = "traefik"
"docker" "docker"
"fasd" "fasd"
"git" "git"
"git-flow"
"httpie" "httpie"
"last-working-dir" "last-working-dir"
"pass" "pass"
@@ -439,12 +414,5 @@ source <(kubectl completion zsh)
"notify-i3" = "${pkgs.i3}/bin/i3-msg restart"; "notify-i3" = "${pkgs.i3}/bin/i3-msg restart";
}; };
}; };
#TODO profiles
}; };
} }
# TODO
#
# - setup GPG for Git, mails etc...
# - try fzf?

View File

@@ -71,7 +71,6 @@
# Sound # Sound
blueman blueman
pulseaudio-modules-bt
bluez-tools bluez-tools
]; ];
@@ -103,19 +102,6 @@
services.clamav.daemon.enable = true; services.clamav.daemon.enable = true;
services.clamav.updater.enable = true; services.clamav.updater.enable = true;
# see https://github.com/NixOS/nixpkgs/blob/2380f6a4faa57c6b91fed26c496e1c8ca5d91982/nixos/modules/services/networking/iunbound.nix#L52
# services.unbound = {
# enable = true;
# settings = {
# # cache-max-negative-ttl = "0";
# local-zone = "test. redirect";
# local-data = [
# "test. 10800 IN NS localhost."
# "test. 10800 IN SOA test. nobody.invalid. 1 3600 1200 604800 10800"
# "test. 10800 IN A 172.10.0.10"
# ];
# };
# };
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
# Doc: https://nixos.org/manual/nixos/stable/index.html#sec-firewall # Doc: https://nixos.org/manual/nixos/stable/index.html#sec-firewall
@@ -124,7 +110,10 @@
# Enable CUPS to print documents. # Enable CUPS to print documents.
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
services.printing.enable = true; services.printing.enable = true;
services.printing.drivers = [ pkgs.hplip pkgs.gutenprint pkgs.cnijfilter_4_00 pkgs.cnijfilter2]; services.printing.drivers = [
pkgs.hplip
pkgs.gutenprint
];
# Enable sound. # Enable sound.
sound.enable = true; sound.enable = true;