From 022a8066569ad446353768de39ef8e9017dce398 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Thu, 18 Apr 2024 23:24:28 +0200 Subject: [PATCH 1/2] chore: update morty home options --- hosts/morty/home-config.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hosts/morty/home-config.nix b/hosts/morty/home-config.nix index 470520c..000cb12 100644 --- a/hosts/morty/home-config.nix +++ b/hosts/morty/home-config.nix @@ -1,11 +1,16 @@ { ... }: { config.modules = { application = { + gnupg.enable = true; zathura.enable = true; foot.enable = true; }; cli = { + direnv.enable = true; + ghq.enable = true; + git.enable = true; neovim.enable = true; + utils.enable = true; vifm.enable = true; zsh.enable = true; }; @@ -23,6 +28,10 @@ waybar = { laptop = true; gpuThermal.enable = false; + cpuThermal = { + hwmonPathAbs = "/sys/devices/platform/coretemp.0/hwmon/"; + inputFilename = "temp1_input"; + }; }; }; }; From df94e60e8eb2307011db638886f188a152a78307 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Thu, 18 Apr 2024 23:32:55 +0200 Subject: [PATCH 2/2] perf: rewrite taskfile to accelerate build It not check nix file anymore to define if rule must be played or not --- taskfile.yaml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/taskfile.yaml b/taskfile.yaml index beafb64..c44ff2f 100644 --- a/taskfile.yaml +++ b/taskfile.yaml @@ -18,30 +18,21 @@ tasks: - "**/*.nix" build:*: - silent: true vars: TARGET: "{{index .MATCH 0}}" cmds: - nixos-rebuild --flake .#{{.TARGET}} build - sources: - - "**/*.nix" switch:*: - silent: true vars: TARGET: "{{index .MATCH 0}}" - requires: - vars: [TARGET] cmds: - - doas nixos-rebuild --flake .#{{}} switch - sources: - - "**/*.nix" + - doas nixos-rebuild --flake .#{{.TARGET}} switch + test:*: - silent: true vars: TARGET: "{{index .MATCH 0}}" cmds: - doas nixos-rebuild --flake .#{{.TARGET}} test - sources: - - "**/*.nix" +