From 76cd542cf4bf8153fd191b2aa6ab5b7f77c20be5 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Sun, 26 Dec 2021 15:05:37 +0700 Subject: Update in the name of Christ --- nix/awesome.nix | 6 +++--- nix/configuration.nix | 8 ++++---- nix/devel.nix | 4 ++-- nix/hardware-configuration.nix | 8 ++++++++ 4 files changed, 17 insertions(+), 9 deletions(-) (limited to 'nix') diff --git a/nix/awesome.nix b/nix/awesome.nix index d1f4f2a..4116405 100644 --- a/nix/awesome.nix +++ b/nix/awesome.nix @@ -35,9 +35,9 @@ environment.systemPackages = with pkgs; [ gnome.adwaita-icon-theme gnome.networkmanagerapplet qt5ct - clipbuzz playerctl pulsemixer xclip xdotool xscreensaver - aerc amfora ncdu newsboat ranger ueberzug rxvt-unicode vim_configurable - arandr audacious keynav scrot sigil xorg.xkill zathura + clipbuzz keynav playerctl pulsemixer xclip xdotool xorg.xkill + aerc amfora ncdu ranger ueberzug rxvt-unicode vim_configurable + arandr audacious keepassx-community liferea scrot zathura firefox libreoffice mumble nheko tor-browser-bundle-bin transmission-gtk ]; diff --git a/nix/configuration.nix b/nix/configuration.nix index afe9feb..e9c6e31 100644 --- a/nix/configuration.nix +++ b/nix/configuration.nix @@ -64,8 +64,8 @@ }; environment.systemPackages = with pkgs; [ - compsize htop inotify-tools killall rsync unzip - oathToolkit isync stow tor w3m wget youtube-dl + compsize cryptsetup htop inotify-tools killall rsync unzip + oathToolkit isync stow tor w3m wget yt-dlp mpv pavucontrol sent vimiv-qt yacreader ffmpeg gifski gimp imagemagick inkscape pdftk simplescreenrecorder sox ]; @@ -89,8 +89,8 @@ }; printing = { - # enable = true; - # drivers = with pkgs; [ hplipWithPlugin ]; + enable = true; + drivers = with pkgs; [ hplip ]; }; dictd = { diff --git a/nix/devel.nix b/nix/devel.nix index 11d0509..c6656ad 100644 --- a/nix/devel.nix +++ b/nix/devel.nix @@ -2,8 +2,8 @@ { environment.systemPackages = with pkgs; [ - exa fd gitAndTools.gitFull glow jq minicom manpages ripgrep rlwrap - gcc julia-stable-bin lua python3 rakudo zig + exa fd gitAndTools.gitFull glow jq kvm minicom manpages ripgrep rlwrap + gcc lua python3 rakudo zig bintools gdb gnumake luaPackages.luacheck mypy pkg-config plantuml sile texlive.combined.scheme-full ] ++ (with python3Packages; [ flit pip tox ]); diff --git a/nix/hardware-configuration.nix b/nix/hardware-configuration.nix index 5af5d36..f514c1e 100644 --- a/nix/hardware-configuration.nix +++ b/nix/hardware-configuration.nix @@ -15,6 +15,7 @@ kernelModules = [ ]; }; kernelModules = [ "kvm-intel" ]; + kernelPackages = pkgs.linuxPackages_latest; extraModulePackages = [ ]; }; @@ -23,6 +24,7 @@ "/" = { device = "none"; fsType = "tmpfs"; + options = [ "mode=755" ]; }; "/boot" = { @@ -60,6 +62,12 @@ options = [ "subvol=log" "compress-force=zstd" ]; neededForBoot = true; }; + + "/home/sea/Videos/Movies" = { + device = "/dev/disk/by-uuid/75646045-86cf-4b97-90ad-7acd384f8b35"; + fsType = "btrfs"; + options = [ "subvol=movies" "compress-force=zstd" "noatime" ]; + }; }; services.fstrim.enable = true; -- cgit 1.4.1