Network manager applet, pipewire bluetooth, and emacs LLMs
This commit is contained in:
parent
b5c3df54cb
commit
098cc3287c
6 changed files with 45 additions and 5 deletions
|
@ -60,6 +60,10 @@ in {
|
||||||
group = config.users.users.knazarov.group;
|
group = config.users.users.knazarov.group;
|
||||||
};
|
};
|
||||||
mullvad_account = { };
|
mullvad_account = { };
|
||||||
|
kagi_api_key = {
|
||||||
|
owner = config.users.users.knazarov.name;
|
||||||
|
group = config.users.users.knazarov.group;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -211,8 +215,12 @@ in {
|
||||||
})
|
})
|
||||||
|
|
||||||
nodejs
|
nodejs
|
||||||
|
|
||||||
|
networkmanagerapplet
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.blueman.enable = true;
|
||||||
|
|
||||||
services.tailscale.enable = true;
|
services.tailscale.enable = true;
|
||||||
|
|
||||||
services.mullvad-vpn = { enable = true; };
|
services.mullvad-vpn = { enable = true; };
|
||||||
|
@ -270,6 +278,15 @@ in {
|
||||||
wireplumber.enable = true;
|
wireplumber.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.pipewire.wireplumber.extraConfig.bluetoothEnhancements = {
|
||||||
|
"monitor.bluez.properties" = {
|
||||||
|
"bluez5.enable-sbc-xq" = true;
|
||||||
|
"bluez5.enable-msbc" = true;
|
||||||
|
"bluez5.enable-hw-volume" = true;
|
||||||
|
"bluez5.roles" = [ "hsp_hs" "hsp_ag" "hfp_hf" "hfp_ag" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.steam = {
|
programs.steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
@ -660,6 +677,8 @@ in {
|
||||||
for_window [title="Firefox.*Sharing Indicator"] floating enable;
|
for_window [title="Firefox.*Sharing Indicator"] floating enable;
|
||||||
default_border pixel 3
|
default_border pixel 3
|
||||||
input 1386:885:Wacom_Intuos_M_Pen map_to_output DP-1
|
input 1386:885:Wacom_Intuos_M_Pen map_to_output DP-1
|
||||||
|
|
||||||
|
exec_always ${pkgs.networkmanagerapplet}/bin/nm-applet --indicator
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
programs.foot = {
|
programs.foot = {
|
||||||
|
|
17
emacs.el
17
emacs.el
|
@ -1293,5 +1293,22 @@ Intended for `after-make-frame-functions'."
|
||||||
:mode "\\.vli$"
|
:mode "\\.vli$"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
;; LLM
|
||||||
|
|
||||||
|
(use-package gptel
|
||||||
|
:ensure t
|
||||||
|
:config
|
||||||
|
(setq gptel-model 'fastgpt)
|
||||||
|
(setq gptel-kagi-api-key
|
||||||
|
(lambda ()
|
||||||
|
(with-temp-buffer
|
||||||
|
(insert-file-contents "/var/run/secrets/kagi_api_key")
|
||||||
|
(buffer-string))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(setq gptel-backend (gptel-make-kagi "Kagi" :key gptel-kagi-api-key))
|
||||||
|
(setq gptel-org-branching-context t)
|
||||||
|
)
|
||||||
|
|
||||||
(provide 'init)
|
(provide 'init)
|
||||||
;;; init.el ends here
|
;;; init.el ends here
|
||||||
|
|
|
@ -89,11 +89,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729114222,
|
"lastModified": 1730155921,
|
||||||
"narHash": "sha256-IHqI95x/s3xFyj9Uo/pnblU+9yw9hEvYJ77EEYuhXQI=",
|
"narHash": "sha256-ZF/zP5CKPh4phvae7TUkd45iBvMomrhwwMfw6NOWHpA=",
|
||||||
"owner": "~knazarov",
|
"owner": "~knazarov",
|
||||||
"repo": "knazarov.com",
|
"repo": "knazarov.com",
|
||||||
"rev": "affe3605609e6f0ab00b55a8901362ca44307c37",
|
"rev": "8eb740e7e36132fca7e29b14daad038155a7b3d3",
|
||||||
"type": "sourcehut"
|
"type": "sourcehut"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -19,4 +19,5 @@ in
|
||||||
boot.initrd.luks.devices."luks-20e33e39-6349-4763-ab23-c14cde35055f".device = "/dev/disk/by-uuid/20e33e39-6349-4763-ab23-c14cde35055f";
|
boot.initrd.luks.devices."luks-20e33e39-6349-4763-ab23-c14cde35055f".device = "/dev/disk/by-uuid/20e33e39-6349-4763-ab23-c14cde35055f";
|
||||||
boot.initrd.luks.devices."luks-20e33e39-6349-4763-ab23-c14cde35055f".keyFile = "/crypto_keyfile.bin";
|
boot.initrd.luks.devices."luks-20e33e39-6349-4763-ab23-c14cde35055f".keyFile = "/crypto_keyfile.bin";
|
||||||
|
|
||||||
|
hardware.bluetooth.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,4 +31,6 @@ in
|
||||||
|
|
||||||
extraPackages32 = [ pkgs.driversi686Linux.amdvlk ];
|
extraPackages32 = [ pkgs.driversi686Linux.amdvlk ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hardware.bluetooth.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,6 +6,7 @@ git_plan_config: ENC[AES256_GCM,data:7K4R9OcFq+hWPKwkng6huppcInASpjUSgRpYX++voPH
|
||||||
git_plan_credentials: ENC[AES256_GCM,data:d4egK2w4TGIDNaI2Wc3ViOBnH7/WpdeS1EoYe4/oaM4iayBXOEQMvT9qIgu/Hml34gvbBN9lRmlNkESVh7YpwO5wACkkRcO/0ZTyP8XzFUUo0IfUh1iHPjEQOF7vygW/woqBiQgFPRws9F+g6BW8aSQrBgvBF5IeNLhFBvSJUvTft1xEsNwFnkWnfZ2JWmYqLjEggoUEqtXMRw9KKcqm4DNXIzxmA8wSzDriIzeCVuSEV8sJD21saFPPaLw/jupLTLdWp5F8rAxLGa6e9coCNu8vSuqUgfv0jFET71bNw28xPrN38A/PIlUcR9MXe1SGqKAFxEv134ZkJr78g1PIWNoVDrmIlMpV6dYRLKM1FOcpAhJorIXooIl6quCdg2/U5onP8cQ7lt2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C[AES256_GCM,data:2oLPKt3X867NqP79YZgvMglAQ3K9reTyeDIgQT3deHmg+RzawWh8fk8NidU5y9ailSGfdddB2r5WkgfH1fhHOBXCHpot5fR3+4TfSTMSX3V05E6GZNn51ue4Defjc3SQmCZBUKegtusJ5QBxqDBTuzWjb+QtlO0ZUzC7ZwV4GGXDP6fvPaoUfOzkX3vV5iowo43SM5gnask/KcgNN0EDprsRQ5vRTRA+vs5miwxrdCnU5O3RuJXrtTfiX61qQ1ei0Iw05lXTXFJQuJ4Cijvag00SZymWZIvSBq/DcSswcW+3Tme9CuScJ1KNA3vRYLatAln5buSg/htRb0haQUJNQPAbAL6tnJSvXLF3VaEm1Ja+njfeVJJlbBEzOYDdfgim,iv:+5BWkeWwVNgHB5BXItu69+HoFac8q67yz1oct7u4Hoo=,tag:hCGaQTG70sYoQnoVW2s5vw==,type:str]
|
syncthing_key: ENC[AES256_GCM,data:2oLPKt3X867NqP79YZgvMglAQ3K9reTyeDIgQT3deHmg+RzawWh8fk8NidU5y9ailSGfdddB2r5WkgfH1fhHOBXCHpot5fR3+4TfSTMSX3V05E6GZNn51ue4Defjc3SQmCZBUKegtusJ5QBxqDBTuzWjb+QtlO0ZUzC7ZwV4GGXDP6fvPaoUfOzkX3vV5iowo43SM5gnask/KcgNN0EDprsRQ5vRTRA+vs5miwxrdCnU5O3RuJXrtTfiX61qQ1ei0Iw05lXTXFJQuJ4Cijvag00SZymWZIvSBq/DcSswcW+3Tme9CuScJ1KNA3vRYLatAln5buSg/htRb0haQUJNQPAbAL6tnJSvXLF3VaEm1Ja+njfeVJJlbBEzOYDdfgim,iv:+5BWkeWwVNgHB5BXItu69+HoFac8q67yz1oct7u4Hoo=,tag:hCGaQTG70sYoQnoVW2s5vw==,type:str]
|
||||||
|
kagi_api_key: ENC[AES256_GCM,data:L26RZzBVo9mAxP7VgeFgmc/kpvYWrLsa1ElGzpfvwuaBvpoRGF4hLJMzI5huJ50lQ73KfvgZQw==,iv:lIMEe0u6ZE62SPWjpbwL3QJot5g2lbjuoxVcFPg51Go=,tag:WB05eEi6Lx1A3gyu1M9x4Q==,type:str]
|
||||||
sops:
|
sops:
|
||||||
kms: []
|
kms: []
|
||||||
gcp_kms: []
|
gcp_kms: []
|
||||||
|
@ -30,8 +31,8 @@ sops:
|
||||||
U3loV2xDMkM5SWNXRDJobDloL0FVUUkK3OP7KvcKkE8mJ880dm6LMFZUxELjl8/P
|
U3loV2xDMkM5SWNXRDJobDloL0FVUUkK3OP7KvcKkE8mJ880dm6LMFZUxELjl8/P
|
||||||
6+q8qAYiAvl0Cbd4GzkNpUuBbLlFFWfFmC0vbgg8gyZ6xI5AFhHAPw==
|
6+q8qAYiAvl0Cbd4GzkNpUuBbLlFFWfFmC0vbgg8gyZ6xI5AFhHAPw==
|
||||||
-----END AGE ENCRYPTED FILE-----
|
-----END AGE ENCRYPTED FILE-----
|
||||||
lastmodified: "2024-10-28T19:44:41Z"
|
lastmodified: "2024-10-30T20:16:29Z"
|
||||||
mac: ENC[AES256_GCM,data:MNWWFLzCLQcEqKOtMftSA8FFCMfQuJz9DivoIFoYtbv0OYX+8RtVJPcrY3JaUZCRlQJBc4ll7zDgFxoueOr9ZglZrJ6yIXp5VjgCEEQ6IfTXEfAjw3ucQtu0EOgeZgHT9ACW11rSFYY/HFNABVRU8jHyBP1rX8Lwkgn75CvwSwc=,iv:qcExp4vFit3cN5VdApy2KXB4guXYXDYfXggEb9Nb/RU=,tag:5mWFJzr6MT3I87w3lNm1HQ==,type:str]
|
mac: ENC[AES256_GCM,data:f3dHbjLgqJmjTpKObGlrzUh2HwbaaJrKoitQuBvL1gwg7byD7lkzFk48NaO79tBm8mzFM0qNR6ZuMCezWIi/MqeKtTKhsf4e89///uSVB2EVbBDR/SDvfiZYwg1l0WEoUt5bjJIQyvmP8wRTVKBCMWNlbona/FGUlngswNXT1DM=,iv:IyUTsfYvIYh6X0RTB+yHlFRCwL0D+MF9A+HOQUjbJLY=,tag:YHaeO9iYM8Ze6koG8tjvOw==,type:str]
|
||||||
pgp:
|
pgp:
|
||||||
- created_at: "2023-06-10T01:03:11Z"
|
- created_at: "2023-06-10T01:03:11Z"
|
||||||
enc: |-
|
enc: |-
|
||||||
|
|
Loading…
Reference in a new issue