Update to 20.09

MPV is disabled since the override options no longer work.
This also applies updated formatting.
This commit is contained in:
Simon Bruder 2020-09-25 18:31:43 +02:00
parent d93165edf6
commit db1348014e
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F
16 changed files with 40 additions and 43 deletions

View file

@ -7,7 +7,7 @@
git-crypt # used to store secrets in configuration git-crypt # used to store secrets in configuration
git-lfs # not so essential, but required to clone config git-lfs # not so essential, but required to clone config
htop htop
(unstable.neovim.override { vimAlias = true; }) # FIXME unstable is for python-msgpack 1.0; use stable once python-msgpack 1.0 is in stable (neovim.override { vimAlias = true; })
tmux tmux
]; ];

View file

@ -79,7 +79,7 @@
(pass-wayland.withExtensions (es: with es; [ pass-otp ])) # password manager (pass-wayland.withExtensions (es: with es; [ pass-otp ])) # password manager
pwgen pwgen
pwgen-secure # password generator pwgen-secure # password generator
unstable.xkcdpass # memorable password generator xkcdpass # memorable password generator
# misc # misc
toilet # free figlet toilet # free figlet
@ -94,7 +94,7 @@
nix-direnv # per-directory environment for nix nix-direnv # per-directory environment for nix
# git # git
unstable.gitAndTools.git-annex gitAndTools.git-annex
gitAndTools.git-annex-remote-rclone # git for non source files gitAndTools.git-annex-remote-rclone # git for non source files
gitAndTools.pre-commit # pre-commit hook for git gitAndTools.pre-commit # pre-commit hook for git
]; ];

View file

@ -8,6 +8,6 @@
gimpPlugins.gmic # bitmap editor gimpPlugins.gmic # bitmap editor
krita # drawing krita # drawing
openscad # parametric/procedural 3d modelling openscad # parametric/procedural 3d modelling
unstable.inkscape # vector graphics editor inkscape # vector graphics editor
]; ];
} }

View file

@ -6,7 +6,8 @@
docker-ls docker-ls
]; ];
virtualisation.docker = { virtualisation = {
docker = {
enable = true; enable = true;
logDriver = "journald"; logDriver = "journald";
extraOptions = builtins.concatStringsSep " " [ extraOptions = builtins.concatStringsSep " " [
@ -15,12 +16,12 @@
]; ];
}; };
docker-containers.ipv6nat = { oci-containers.containers.ipv6nat = {
image = "robbertkl/ipv6nat"; image = "robbertkl/ipv6nat";
volumes = [ volumes = [
"/var/run/docker.sock:/var/run/docker.sock:ro" "/var/run/docker.sock:/var/run/docker.sock:ro"
]; ];
extraDockerOptions = [ extraOptions = [
"--network=host" "--network=host"
"--cap-drop=ALL" "--cap-drop=ALL"
"--cap-add=NET_ADMIN" "--cap-add=NET_ADMIN"
@ -28,6 +29,7 @@
"--cap-add=SYS_MODULE" "--cap-add=SYS_MODULE"
]; ];
}; };
};
environment.etc."modules-load.d/ipv6nat.conf".text = "ip6_tables\n"; environment.etc."modules-load.d/ipv6nat.conf".text = "ip6_tables\n";
} }

View file

@ -5,10 +5,10 @@
fonts = with pkgs; [ fonts = with pkgs; [
corefonts # good ol microsoft fonts corefonts # good ol microsoft fonts
google-fonts # google font collection (free) google-fonts # google font collection (free)
(unstable.nerdfonts.override { fonts = [ "Iosevka" ]; }) (nerdfonts.override { fonts = [ "Iosevka" ]; })
#roboto # standalone roboto has awful kerning #roboto # standalone roboto has awful kerning
unstable.source-han-sans source-han-sans
unstable.source-han-serif # CJK fonts source-han-serif # CJK fonts
vistafonts # newer microsoft fonts vistafonts # newer microsoft fonts
]; ];

View file

@ -6,7 +6,7 @@
filezilla # ftp client filezilla # ftp client
gparted # gui for parted gparted # gui for parted
qalculate-gtk # flexible calculator qalculate-gtk # flexible calculator
unstable.antimicroX # gamepad to keyboard/mouse mapping antimicroX # gamepad to keyboard/mouse mapping
wl-clipboard # not really gui, but cli tool to manage wayland clipboard wl-clipboard # not really gui, but cli tool to manage wayland clipboard
wxhexeditor # hex editor wxhexeditor # hex editor
xfce.thunar # graphical file manager xfce.thunar # graphical file manager

View file

@ -32,7 +32,7 @@
# Audio + Video # Audio + Video
ffmpeg-full # A/V multitool ffmpeg-full # A/V multitool
mkvtoolnix # matroska (de-)muxing mkvtoolnix # matroska (de-)muxing
(mpv.override { archiveSupport = true; vapoursynthSupport = true; }) # media player #(mpv.override { archiveSupport = true; vapoursynthSupport = true; }) # media player
# Literature # Literature
calibre # ebook library calibre # ebook library

View file

@ -1,5 +1,4 @@
{ pkgs, ... }: { pkgs, ... }:
let let
mpdConf = pkgs.writeText "mpd.conf" '' mpdConf = pkgs.writeText "mpd.conf" ''
music_directory "~/Music" music_directory "~/Music"

View file

@ -1,5 +1,4 @@
{ config, ... }: { config, ... }:
let let
vpnNetRanges = config.networking.wireguard.interfaces.wg-home.ips; vpnNetRanges = config.networking.wireguard.interfaces.wg-home.ips;
vpnNetRange = builtins.elemAt vpnNetRanges 0; vpnNetRange = builtins.elemAt vpnNetRanges 0;

View file

@ -1,5 +1,4 @@
{ pkgs, config, lib, ... }: { pkgs, config, lib, ... }:
let let
excludes = [ excludes = [
# General # General

View file

@ -1,5 +1,4 @@
{ ... }: { ... }:
let let
pubkeys = import ./pubkeys.nix; pubkeys = import ./pubkeys.nix;
in in

View file

@ -10,11 +10,11 @@
(waybar.override { pulseSupport = true; }) # better status bar (waybar.override { pulseSupport = true; }) # better status bar
mako # notification daemon mako # notification daemon
#kanshi # autorandr #kanshi # autorandr
unstable.alacritty # temrinal alacritty # temrinal
unstable.dmenu-wayland # launcher dmenu-wayland # launcher
brightnessctl # control screen brightness brightnessctl # control screen brightness
#redshift-wlr # natural color temperature #redshift-wlr # natural color temperature
unstable.sway-contrib.grimshot # screenshots sway-contrib.grimshot # screenshots
]; ];
extraSessionCommands = '' extraSessionCommands = ''
export CLUTTER_BACKEND=wayland export CLUTTER_BACKEND=wayland

View file

@ -1,11 +1,10 @@
{ pkgs, ... }: { pkgs, ... }:
let let
pubkeys = import ../../modules/pubkeys.nix; pubkeys = import ../../modules/pubkeys.nix;
in in
{ {
imports = [ imports = [
(import "${builtins.fetchTarball https://github.com/rycee/home-manager/archive/master.tar.gz}/nixos") # FIXME: pin to release (import "${builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz"}/nixos") # FIXME: pin to 20.09
]; ];
users.users.simon = { users.users.simon = {