Allow unfree packages in switch script

This commit is contained in:
Riley Apeldoorn 2023-05-25 19:44:28 +02:00
parent 095e03ef81
commit 1c9329b5e0
2 changed files with 1 additions and 22 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
nixos-rebuild switch --flake path://$SCRIPT_DIR# --use-remote-sudo
NIXPKGS_ALLOW_UNFREE=1 nixos-rebuild switch --flake path://$SCRIPT_DIR# --use-remote-sudo "$@"

View file

@ -1,21 +0,0 @@
{ pkgs, config, ... }:
let theme = config.theme; in {
programs.kitty = {
enable = true;
settings = {
term = "xterm";
enable_audio_bell = false;
scrollback_lines = 5000000;
background = theme.background.basic;
};
font = {
name = "Fira Code";
size = 8;
};
};
}