profiles/system: remove selfPath

It was the wrong value so we'll remove it.
This commit is contained in:
Gabriel Arazas 2022-06-26 08:45:57 +08:00
parent fb009e9a98
commit bde3ef040f
2 changed files with 4 additions and 5 deletions

View File

@ -98,7 +98,6 @@
specialArgs = { specialArgs = {
inherit system inputs self; inherit system inputs self;
lib = nixpkgs.lib.extend (final: prev: import ./lib { lib = prev; }); lib = nixpkgs.lib.extend (final: prev: import ./lib { lib = prev; });
selfPath = ./.;
}; };
config = { config = {

View File

@ -1,7 +1,7 @@
# This is where extra desktop goodies can be found. # This is where extra desktop goodies can be found.
# As a note, this is not where you set the aesthetics of your graphical sessions. # As a note, this is not where you set the aesthetics of your graphical sessions.
# That can be found in the `themes` module. # That can be found in the `themes` module.
{ inputs, config, options, lib, pkgs, selfPath, ... }: { inputs, config, options, lib, pkgs, ... }:
let cfg = config.profiles.system; let cfg = config.profiles.system;
in { in {
@ -84,7 +84,7 @@ in {
}; };
fonts = with pkgs; [ fonts = with pkgs; [
iosevka #iosevka
# Noto font family # Noto font family
noto-fonts noto-fonts
@ -156,7 +156,7 @@ in {
(lib.mkIf cfg.autoUpgrade.enable { (lib.mkIf cfg.autoUpgrade.enable {
system.autoUpgrade = { system.autoUpgrade = {
enable = true; enable = true;
flake = builtins.toString selfPath; flake = "github:foo-dogsquared/nixos-config";
allowReboot = true; allowReboot = true;
rebootWindow = { rebootWindow = {
lower = "22:00"; lower = "22:00";
@ -164,7 +164,7 @@ in {
}; };
dates = "weekly"; dates = "weekly";
flags = [ "--update-input" "nixpkgs" "--commit-lock-file" ]; flags = [ "--update-input" "nixpkgs" "--commit-lock-file" ];
randomizedDelaySec = "30min"; randomizedDelaySec = "1min";
}; };
}) })