args @ { pkgs, ... }: { nix.settings.experimental-features = [ "nix-command" "flakes" ]; nixpkgs.config.permittedInsecurePackages = [ "freeimage-unstable-2021-11-01" ]; home-manager.users.krizej.home.packages = [ (pkgs.writeShellScriptBin "rebuild" '' # hack: update autorandr stuffs autorandr --match-edid --dry-run &> ~/nix/files/autorandr.txt sudo nixos-rebuild switch --flake ~/nix --show-trace -v '') ]; nixpkgs.overlays = import ../pkgs args; nixpkgs.config.allowUnfree = true; }