Added initial Zed config

This commit is contained in:
Alexandre 2025-12-27 04:28:51 +01:00
parent 9c757456d0
commit f0028d2c98
5 changed files with 92 additions and 208 deletions

View File

@ -4,4 +4,4 @@ creation_rules:
- path_regex: secrets/secrets.yaml$
key_groups:
- age:
- *primary
- *primary

234
flake.lock generated
View File

@ -2,22 +2,10 @@
"nodes": {
"aquamarine": {
"inputs": {
"hyprutils": [
"hyprland",
"hyprutils"
],
"hyprwayland-scanner": [
"hyprland",
"hyprwayland-scanner"
],
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
"hyprutils": ["hyprland", "hyprutils"],
"hyprwayland-scanner": ["hyprland", "hyprwayland-scanner"],
"nixpkgs": ["hyprland", "nixpkgs"],
"systems": ["hyprland", "systems"]
},
"locked": {
"lastModified": 1764714051,
@ -51,11 +39,7 @@
},
"gitignore": {
"inputs": {
"nixpkgs": [
"hyprland",
"pre-commit-hooks",
"nixpkgs"
]
"nixpkgs": ["hyprland", "pre-commit-hooks", "nixpkgs"]
},
"locked": {
"lastModified": 1709087332,
@ -73,9 +57,7 @@
},
"home-manager": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
"nixpkgs": ["nixpkgs"]
},
"locked": {
"lastModified": 1766171975,
@ -93,18 +75,9 @@
},
"hyprcursor": {
"inputs": {
"hyprlang": [
"hyprland",
"hyprlang"
],
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
"hyprlang": ["hyprland", "hyprlang"],
"nixpkgs": ["hyprland", "nixpkgs"],
"systems": ["hyprland", "systems"]
},
"locked": {
"lastModified": 1753964049,
@ -122,18 +95,9 @@
},
"hyprgraphics": {
"inputs": {
"hyprutils": [
"hyprland",
"hyprutils"
],
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
"hyprutils": ["hyprland", "hyprutils"],
"nixpkgs": ["hyprland", "nixpkgs"],
"systems": ["hyprland", "systems"]
},
"locked": {
"lastModified": 1763733840,
@ -181,35 +145,14 @@
},
"hyprland-guiutils": {
"inputs": {
"aquamarine": [
"hyprland",
"aquamarine"
],
"hyprgraphics": [
"hyprland",
"hyprgraphics"
],
"hyprlang": [
"hyprland",
"hyprlang"
],
"aquamarine": ["hyprland", "aquamarine"],
"hyprgraphics": ["hyprland", "hyprgraphics"],
"hyprlang": ["hyprland", "hyprlang"],
"hyprtoolkit": "hyprtoolkit",
"hyprutils": [
"hyprland",
"hyprutils"
],
"hyprwayland-scanner": [
"hyprland",
"hyprwayland-scanner"
],
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
"hyprutils": ["hyprland", "hyprutils"],
"hyprwayland-scanner": ["hyprland", "hyprwayland-scanner"],
"nixpkgs": ["hyprland", "nixpkgs"],
"systems": ["hyprland", "systems"]
},
"locked": {
"lastModified": 1764812575,
@ -227,14 +170,8 @@
},
"hyprland-protocols": {
"inputs": {
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
"nixpkgs": ["hyprland", "nixpkgs"],
"systems": ["hyprland", "systems"]
},
"locked": {
"lastModified": 1759610243,
@ -252,18 +189,9 @@
},
"hyprlang": {
"inputs": {
"hyprutils": [
"hyprland",
"hyprutils"
],
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
"hyprutils": ["hyprland", "hyprutils"],
"nixpkgs": ["hyprland", "nixpkgs"],
"systems": ["hyprland", "systems"]
},
"locked": {
"lastModified": 1764612430,
@ -281,41 +209,17 @@
},
"hyprtoolkit": {
"inputs": {
"aquamarine": [
"hyprland",
"hyprland-guiutils",
"aquamarine"
],
"hyprgraphics": [
"hyprland",
"hyprland-guiutils",
"hyprgraphics"
],
"hyprlang": [
"hyprland",
"hyprland-guiutils",
"hyprlang"
],
"hyprutils": [
"hyprland",
"hyprland-guiutils",
"hyprutils"
],
"aquamarine": ["hyprland", "hyprland-guiutils", "aquamarine"],
"hyprgraphics": ["hyprland", "hyprland-guiutils", "hyprgraphics"],
"hyprlang": ["hyprland", "hyprland-guiutils", "hyprlang"],
"hyprutils": ["hyprland", "hyprland-guiutils", "hyprutils"],
"hyprwayland-scanner": [
"hyprland",
"hyprland-guiutils",
"hyprwayland-scanner"
],
"nixpkgs": [
"hyprland",
"hyprland-guiutils",
"nixpkgs"
],
"systems": [
"hyprland",
"hyprland-guiutils",
"systems"
]
"nixpkgs": ["hyprland", "hyprland-guiutils", "nixpkgs"],
"systems": ["hyprland", "hyprland-guiutils", "systems"]
},
"locked": {
"lastModified": 1764592794,
@ -333,14 +237,8 @@
},
"hyprutils": {
"inputs": {
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
"nixpkgs": ["hyprland", "nixpkgs"],
"systems": ["hyprland", "systems"]
},
"locked": {
"lastModified": 1764962281,
@ -358,14 +256,8 @@
},
"hyprwayland-scanner": {
"inputs": {
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
"nixpkgs": ["hyprland", "nixpkgs"],
"systems": ["hyprland", "systems"]
},
"locked": {
"lastModified": 1763640274,
@ -383,18 +275,9 @@
},
"hyprwire": {
"inputs": {
"hyprutils": [
"hyprland",
"hyprutils"
],
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
"hyprutils": ["hyprland", "hyprutils"],
"nixpkgs": ["hyprland", "nixpkgs"],
"systems": ["hyprland", "systems"]
},
"locked": {
"lastModified": 1764872015,
@ -412,9 +295,7 @@
},
"nix-darwin": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
"nixpkgs": ["nixpkgs"]
},
"locked": {
"lastModified": 1766038392,
@ -483,10 +364,7 @@
"inputs": {
"flake-compat": "flake-compat",
"gitignore": "gitignore",
"nixpkgs": [
"hyprland",
"nixpkgs"
]
"nixpkgs": ["hyprland", "nixpkgs"]
},
"locked": {
"lastModified": 1765016596,
@ -514,9 +392,7 @@
},
"sops-nix": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
"nixpkgs": ["nixpkgs"]
},
"locked": {
"lastModified": 1766289575,
@ -583,30 +459,12 @@
},
"xdph": {
"inputs": {
"hyprland-protocols": [
"hyprland",
"hyprland-protocols"
],
"hyprlang": [
"hyprland",
"hyprlang"
],
"hyprutils": [
"hyprland",
"hyprutils"
],
"hyprwayland-scanner": [
"hyprland",
"hyprwayland-scanner"
],
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
"hyprland-protocols": ["hyprland", "hyprland-protocols"],
"hyprlang": ["hyprland", "hyprlang"],
"hyprutils": ["hyprland", "hyprutils"],
"hyprwayland-scanner": ["hyprland", "hyprwayland-scanner"],
"nixpkgs": ["hyprland", "nixpkgs"],
"systems": ["hyprland", "systems"]
},
"locked": {
"lastModified": 1761431178,

View File

@ -4,7 +4,7 @@
inputs = {
# NixPKGS unstable
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
# Hyprland
hyprland.url = "github:hyprwm/Hyprland";
@ -35,7 +35,7 @@
modules = [
./hosts/nixos/configuration.nix
inputs.home-manager.nixosModules.default
];
};

View File

@ -0,0 +1,26 @@
{ pkgs, lib, ... }:
{
programs.zed-editor = {
enable = true;
extensions = [
"nix"
"rosé pine"
"rust"
"typescript"
"python"
"javascript"
"html"
"css"
"markdown"
"json"
"yaml"
"go"
];
extraPackages = [ pkgs.nixd ];
userSettings = {
theme = "Rosé Pine Moon";
};
};
}

View File

@ -2,22 +2,22 @@ hello: ENC[AES256_GCM,data:iUTvN5BcSq9z1rm8A9IGi/bC6Y9ktTb0ZJHVnT2FDxX18LBVw9fPJ
example-key: ENC[AES256_GCM,data:b2Gx6CGtub7rAnd/kw==,iv:uWJTovo9X/VkXUW7HRfSuQfo2wZ7yjShfUeRghEQcW0=,tag:R0T8tbijxfAUu19wN9iQdw==,type:str]
#ENC[AES256_GCM,data:igl42zvcTfvOnZ5eKnWHpw==,iv:ImJmyaweKF5ADkwTarcVGaKb3zb2ycXPzq0KItU64+k=,tag:ydg9C6ZO47QsLoguq60JCg==,type:comment]
wireless:
freebox-password: ENC[AES256_GCM,data:2g9BrZnJska/4FuPdRLJrHMgC7C6lQ==,iv:rSSrGHHy0RhEHFeEPZjTU2+TXWdCgrkMH8Uaamilq1k=,tag:Rm4EOvFPoVOi+dADKg97QA==,type:str]
freebox-password: ENC[AES256_GCM,data:2g9BrZnJska/4FuPdRLJrHMgC7C6lQ==,iv:rSSrGHHy0RhEHFeEPZjTU2+TXWdCgrkMH8Uaamilq1k=,tag:Rm4EOvFPoVOi+dADKg97QA==,type:str]
myservice:
my_subdir:
my_secret: ENC[AES256_GCM,data:LReh8HM87Fbj,iv:HJT6/8NYWePsSo1oBpoB62cnBS68ntkyYX7Pd0Q3DsA=,tag:sKSdst4zkQAHS+7JSDhbIg==,type:str]
my_subdir:
my_secret: ENC[AES256_GCM,data:LReh8HM87Fbj,iv:HJT6/8NYWePsSo1oBpoB62cnBS68ntkyYX7Pd0Q3DsA=,tag:sKSdst4zkQAHS+7JSDhbIg==,type:str]
sops:
age:
- recipient: age1h0srffx69v9cp0xd8nzgac9zmxx0x5d8d7jrf3wgl3zea9luy5fsn9llrl
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBRazdLc2V3bU5WTXlLVnlB
TlZGMlo2SlB6QlFyMzVPYmErVTh6QUpvMFJFCkdXTXozdlpiTVhkTEN5S2d5aVBu
YjZ6SU5NRVFxR1VZb2loeWZGN3VqUDQKLS0tIGxlZXhxTS9HL0V2YXRXVEc0RDVz
TGNWMXd1MmVaMndERGpFc1N0TklFNncKFvO2Y80Z0pLEdoKlmAJ0Me4SM/Y5v9bE
qh5J4MvY2MFK9wlgYtql6Xe/OQjzsFLa0sgWE9FBwRwMefWFOgGuRQ==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2025-12-27T02:57:35Z"
mac: ENC[AES256_GCM,data:bNJrWLD3uALsCLtC92W/hHxGXbm82OwaoLLJUgzrKzOyDaSOsboi4g8NGsi+xOSqyRYFkfIOSnk5Tw4DxDOtEkJPNPHk/0Wrn2bKHsmWTbLk3r9uoSJp2AwpXByFrbdc7x30uT/rivWJVVLFGoB98p0KrHAEhfJmDZEWCdFif2Q=,iv:1JYXNkD/ks5tKs167h0lbdzG4xUsXGAoZsDVQHwqY14=,tag:wqo3QRiN/L22OBVpL0AQgA==,type:str]
unencrypted_suffix: _unencrypted
version: 3.11.0
age:
- recipient: age1h0srffx69v9cp0xd8nzgac9zmxx0x5d8d7jrf3wgl3zea9luy5fsn9llrl
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBRazdLc2V3bU5WTXlLVnlB
TlZGMlo2SlB6QlFyMzVPYmErVTh6QUpvMFJFCkdXTXozdlpiTVhkTEN5S2d5aVBu
YjZ6SU5NRVFxR1VZb2loeWZGN3VqUDQKLS0tIGxlZXhxTS9HL0V2YXRXVEc0RDVz
TGNWMXd1MmVaMndERGpFc1N0TklFNncKFvO2Y80Z0pLEdoKlmAJ0Me4SM/Y5v9bE
qh5J4MvY2MFK9wlgYtql6Xe/OQjzsFLa0sgWE9FBwRwMefWFOgGuRQ==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2025-12-27T02:57:35Z"
mac: ENC[AES256_GCM,data:bNJrWLD3uALsCLtC92W/hHxGXbm82OwaoLLJUgzrKzOyDaSOsboi4g8NGsi+xOSqyRYFkfIOSnk5Tw4DxDOtEkJPNPHk/0Wrn2bKHsmWTbLk3r9uoSJp2AwpXByFrbdc7x30uT/rivWJVVLFGoB98p0KrHAEhfJmDZEWCdFif2Q=,iv:1JYXNkD/ks5tKs167h0lbdzG4xUsXGAoZsDVQHwqY14=,tag:wqo3QRiN/L22OBVpL0AQgA==,type:str]
unencrypted_suffix: _unencrypted
version: 3.11.0