Use nixos to manage fonts
This commit is contained in:
parent
35431f1745
commit
5cbc4a6117
2 changed files with 2 additions and 11 deletions
|
@ -93,6 +93,8 @@ in
|
|||
|
||||
security.pam.services.gdm.enableGnomeKeyring = true;
|
||||
|
||||
fonts.fonts = [ pkgs.powerline-fonts ];
|
||||
|
||||
sound.enable = true;
|
||||
networking.networkmanager.enable = true;
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
|
@ -103,7 +105,6 @@ in
|
|||
hardware.sane.enable = true;
|
||||
powerManagement.cpuFreqGovernor = (lib.mkForce null);
|
||||
|
||||
|
||||
nix.gc.automatic = true;
|
||||
system.autoUpgrade.enable = true;
|
||||
system.stateVersion = "19.03";
|
||||
|
|
10
nixos/up.sh
10
nixos/up.sh
|
@ -27,16 +27,6 @@ cp -v "$DIR/keeweb.desktop" ~/.local/share/applications/
|
|||
ln -vfs "$DIR/tools" ~/
|
||||
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
|
||||
rustup update
|
||||
set -e
|
||||
|
|
Loading…
Reference in a new issue