From 6208b89f2d58d6ecb772ad76f325fa88a53ae408 Mon Sep 17 00:00:00 2001 From: Ari Sosnovsky Date: Tue, 13 May 2025 21:51:55 -0400 Subject: [PATCH] latest --- bin/skyg | 3 ++- flake.lock | 6 +++--- hosts/fwbook.nix | 2 ++ modules/home/programs.nix | 3 +++ modules/nixos/common/default.nix | 3 +++ 5 files changed, 13 insertions(+), 4 deletions(-) diff --git a/bin/skyg b/bin/skyg index a5518c7..bf5011c 100755 --- a/bin/skyg +++ b/bin/skyg @@ -62,12 +62,13 @@ function run-update() { : Usage: skyg update {name-of-input} input_name=${1} if [ ! -z $input_name ]; then - cmd="nix flake lock --update-input $input_name" + cmd="nix flake update $input_name" else cmd="nix flake update" fi echo $cmd $cmd + git diff flake.lock } function run-diff() { diff --git a/flake.lock b/flake.lock index 0bd487e..672371e 100644 --- a/flake.lock +++ b/flake.lock @@ -157,11 +157,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1745955289, - "narHash": "sha256-mmV2oPhQN+YF2wmnJzXX8tqgYmUYXUj3uUUBSTmYN5o=", + "lastModified": 1747129300, + "narHash": "sha256-L3clA5YGeYCF47ghsI7Tcex+DnaaN/BbQ4dR2wzoiKg=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "72081c9fbbef63765ae82bff9727ea79cc86bd5b", + "rev": "e81fd167b33121269149c57806599045fd33eeed", "type": "github" }, "original": { diff --git a/hosts/fwbook.nix b/hosts/fwbook.nix index 20a90f6..9d3b96e 100644 --- a/hosts/fwbook.nix +++ b/hosts/fwbook.nix @@ -48,7 +48,9 @@ in # Firmware updater services.fwupd.enable = true; + hardware.framework.enableKmod = true; services.fprintd.enable = true; + hardware.framework.amd-7040.preventWakeOnAC = true; # Yubikey services.yubikey-agent.enable = true; # Enable CUPS to print documents. diff --git a/modules/home/programs.nix b/modules/home/programs.nix index bcfa1eb..654b0bb 100644 --- a/modules/home/programs.nix +++ b/modules/home/programs.nix @@ -55,6 +55,9 @@ }; nushell = { enable = true; + extraConfig = '' + $env.config.show_banner = false + ''; }; carapace = { enable = true; diff --git a/modules/nixos/common/default.nix b/modules/nixos/common/default.nix index 4f9136b..8a16cab 100644 --- a/modules/nixos/common/default.nix +++ b/modules/nixos/common/default.nix @@ -11,4 +11,7 @@ ./qemu.nix ./pritunl ]; + config = { + environment.sessionVariables.EDITOR = "vi"; + }; }