Compare commits

...

5 commits

Author SHA1 Message Date
0f94246609
Enable the hackrf hardware on picard
Some checks failed
EVAL x86_64-linux.picard
BUILD x86_64-linux.picard
UPLOAD x86_64-linux.picard
DOWNLOAD x86_64-linux.picard
CACHIX x86_64-linux.picard
ATTIC x86_64-linux.picard
/ test (push) Successful in 3m48s
2024-12-10 10:25:25 +01:00
d5582a3371
Fix missing ip attrset 2024-12-10 10:24:54 +01:00
cc66970484
Add openai_conversation to home-assistant 2024-12-10 10:24:40 +01:00
42cdcd29c1
Enable git's credential manager 2024-12-10 10:24:28 +01:00
31b758d884
Disable gptel-org-branching-context 2024-12-10 10:23:56 +01:00
5 changed files with 12 additions and 3 deletions

View file

@ -882,7 +882,7 @@ This is meant to be an helper to be called from the window manager."
(gptel-api-key (lambda () (require 'f) (f-read-text (getenv "OPENAI_API_KEY_PATH"))))
(gptel-model 'gpt-4o)
(gptel-default-mode 'org-mode)
(gptel-org-branching-context 't)
(gptel-org-branching-context nil) ;; this is cool but I don't feel comfortable with it
:config
(require 'gptel-curl)

View file

@ -14,6 +14,9 @@ in
../gitui
../lazygit
];
home.packages = [ pkgs.git-credential-manager ];
programs.git = {
enable = true;
package = pkgs.gitAndTools.gitFull;
@ -27,6 +30,9 @@ in
user.signingKey = "/home/${username}/.ssh/id_rsa";
gpg.format = "ssh";
commit.gpgsign = true;
credential.helper = "manager";
credential.credentialStore = "cache";
};
userName = config.name;

View file

@ -172,4 +172,6 @@
enable = true;
policy = [ "magic" ];
};
hardware.hackrf.enable = true;
}

View file

@ -75,7 +75,7 @@
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart = ''
${lib.getExe' pkgs.rtl-sdr "rtl_tcp"} -a ${vpn.${config.networking.hostName}}
${lib.getExe' pkgs.rtl-sdr "rtl_tcp"} -a ${vpn.${config.networking.hostName}.ip}
'';
};
};
@ -86,7 +86,7 @@
serviceConfig = {
ExecStart = ''
${lib.getExe' pkgs.sdrangel "sdrangelsrv"} --remote-tcp-hwtype RTLSDR --remote-tcp-port 1234 --remote-tcp-address ${
vpn.${config.networking.hostName}
vpn.${config.networking.hostName}.ip
} --remote-tcp
'';
};

View file

@ -50,6 +50,7 @@ in
"wyoming"
"wake_on_lan"
"prometheus"
"openai_conversation"
];
customComponents = with pkgs.home-assistant-custom-components; [
tuya_local