Merge branch 'main' of github.com:thilobillerbeck/dotfiles

This commit is contained in:
Thilo Billerbeck 2025-05-27 20:45:59 +02:00
commit ee80f44138
2 changed files with 17 additions and 10 deletions
flake.lock
home-manager/programs

18
flake.lock generated
View file

@ -37,11 +37,11 @@
]
},
"locked": {
"lastModified": 1747978958,
"narHash": "sha256-pQQnbxWpY3IiZqgelXHIe/OAE/Yv4NSQq7fch7M6nXQ=",
"lastModified": 1748227609,
"narHash": "sha256-SaSdslyo6UGDpPUlmrPA4dWOEuxCy2ihRN9K6BnqYsA=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "7419250703fd5eb50e99bdfb07a86671939103ea",
"rev": "d23d20f55d49d8818ac1f1b2783671e8a6725022",
"type": "github"
},
"original": {
@ -56,11 +56,11 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1747990026,
"narHash": "sha256-sG5VbID+x5+xUC+jjgHibnzg8IllVcH+K2TLmYHLPME=",
"lastModified": 1748370078,
"narHash": "sha256-/fiYB9nqjKy+1rPqAlxESQ51pb87PxoZRn4KvDvUlak=",
"owner": "Jovian-Experiments",
"repo": "Jovian-NixOS",
"rev": "e2f4ced874406541a7957f7e2b8f05a0d59a0f00",
"rev": "9653efc90af7c78efe160cf34f8ed83959f8a338",
"type": "github"
},
"original": {
@ -231,11 +231,11 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1747744144,
"narHash": "sha256-W7lqHp0qZiENCDwUZ5EX/lNhxjMdNapFnbErcbnP11Q=",
"lastModified": 1748190013,
"narHash": "sha256-R5HJFflOfsP5FBtk+zE8FpL8uqE7n62jqOsADvVshhE=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "2795c506fe8fb7b03c36ccb51f75b6df0ab2553f",
"rev": "62b852f6c6742134ade1abdd2a21685fd617a291",
"type": "github"
},
"original": {

View file

@ -1,8 +1,12 @@
{ pkgs, config, ... }:
let
nixGL = config.lib.nixGL.wrap;
in
{
programs.zed-editor = {
enable = if (config.machine.isGraphical && !config.machine.isGeneric) then true else false;
enable = if config.machine.isGraphical then true else false;
package = if config.machine.isGeneric then (nixGL pkgs.zed-editor) else pkgs.zed-editor;
extensions = [
"xy-zed"
"nix"
@ -25,6 +29,9 @@
auto_update = false;
icon_theme = "Material Icon Theme";
hour_format = "hour24";
features = {
edit_prediction_provider = "copilot";
};
tabs = {
file_icons = true;
git_status = true;