From bde3ef040fb7169672f52274006b079508415c6f Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sun, 26 Jun 2022 08:45:57 +0800 Subject: [PATCH] profiles/system: remove `selfPath` It was the wrong value so we'll remove it. --- flake.nix | 1 - modules/nixos/profiles/system.nix | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index 6338c5ab..81779a8b 100644 --- a/flake.nix +++ b/flake.nix @@ -98,7 +98,6 @@ specialArgs = { inherit system inputs self; lib = nixpkgs.lib.extend (final: prev: import ./lib { lib = prev; }); - selfPath = ./.; }; config = { diff --git a/modules/nixos/profiles/system.nix b/modules/nixos/profiles/system.nix index d6f776bc..4e79ce96 100644 --- a/modules/nixos/profiles/system.nix +++ b/modules/nixos/profiles/system.nix @@ -1,7 +1,7 @@ # This is where extra desktop goodies can be found. # As a note, this is not where you set the aesthetics of your graphical sessions. # That can be found in the `themes` module. -{ inputs, config, options, lib, pkgs, selfPath, ... }: +{ inputs, config, options, lib, pkgs, ... }: let cfg = config.profiles.system; in { @@ -84,7 +84,7 @@ in { }; fonts = with pkgs; [ - iosevka + #iosevka # Noto font family noto-fonts @@ -156,7 +156,7 @@ in { (lib.mkIf cfg.autoUpgrade.enable { system.autoUpgrade = { enable = true; - flake = builtins.toString selfPath; + flake = "github:foo-dogsquared/nixos-config"; allowReboot = true; rebootWindow = { lower = "22:00"; @@ -164,7 +164,7 @@ in { }; dates = "weekly"; flags = [ "--update-input" "nixpkgs" "--commit-lock-file" ]; - randomizedDelaySec = "30min"; + randomizedDelaySec = "1min"; }; })