autoUpgrade
This commit is contained in:
parent
4b40cbc624
commit
ac338dd927
|
@ -1,4 +1,4 @@
|
||||||
{ nix-index-database, lib, pkgs, ... }: {
|
{ config, nix-index-database, lib, pkgs, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
nix-index-database.nixosModules.nix-index
|
nix-index-database.nixosModules.nix-index
|
||||||
];
|
];
|
||||||
|
@ -17,6 +17,12 @@
|
||||||
};
|
};
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
system.autoUpgrade = {
|
||||||
|
enable = true;
|
||||||
|
flake = "${config.users.users.caspervk.home}/nixos";
|
||||||
|
flags = [ "--update-input" "nixpkgs" ];
|
||||||
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
bat
|
bat
|
||||||
clang
|
clang
|
||||||
|
|
Loading…
Reference in a new issue