Use nixos to manage fonts

This commit is contained in:
Cyryl Płotnicki 2019-07-08 21:47:51 +01:00
parent 35431f1745
commit 5cbc4a6117
2 changed files with 2 additions and 11 deletions

View file

@ -93,6 +93,8 @@ in
security.pam.services.gdm.enableGnomeKeyring = true; security.pam.services.gdm.enableGnomeKeyring = true;
fonts.fonts = [ pkgs.powerline-fonts ];
sound.enable = true; sound.enable = true;
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = true;
@ -103,7 +105,6 @@ in
hardware.sane.enable = true; hardware.sane.enable = true;
powerManagement.cpuFreqGovernor = (lib.mkForce null); powerManagement.cpuFreqGovernor = (lib.mkForce null);
nix.gc.automatic = true; nix.gc.automatic = true;
system.autoUpgrade.enable = true; system.autoUpgrade.enable = true;
system.stateVersion = "19.03"; system.stateVersion = "19.03";

View file

@ -27,16 +27,6 @@ cp -v "$DIR/keeweb.desktop" ~/.local/share/applications/
ln -vfs "$DIR/tools" ~/ ln -vfs "$DIR/tools" ~/
echo "all links done" echo "all links done"
#install fonts
echo "installing fonts"
mkdir -p ~/.local/share/fonts
cp -rv "$DIR/fonts" ~/.local/share/fonts
set +e
fc-cache -rv
$SUDO fc-cache -rv
set -e
set +e set +e
rustup update rustup update
set -e set -e