autoUpgrade

This commit is contained in:
Casper V. Kristensen 2023-08-08 18:11:16 +02:00
parent 4b40cbc624
commit ac338dd927

View file

@ -1,4 +1,4 @@
{ nix-index-database, lib, pkgs, ... }: {
{ config, nix-index-database, lib, pkgs, ... }: {
imports = [
nix-index-database.nixosModules.nix-index
];
@ -17,6 +17,12 @@
};
nixpkgs.config.allowUnfree = true;
system.autoUpgrade = {
enable = true;
flake = "${config.users.users.caspervk.home}/nixos";
flags = [ "--update-input" "nixpkgs" ];
};
environment.systemPackages = with pkgs; [
bat
clang