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$ - path_regex: secrets/secrets.yaml$
key_groups: key_groups:
- age: - age:
- *primary - *primary

234
flake.lock generated
View File

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

View File

@ -4,7 +4,7 @@
inputs = { inputs = {
# NixPKGS unstable # NixPKGS unstable
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
# Hyprland # Hyprland
hyprland.url = "github:hyprwm/Hyprland"; hyprland.url = "github:hyprwm/Hyprland";
@ -35,7 +35,7 @@
modules = [ modules = [
./hosts/nixos/configuration.nix ./hosts/nixos/configuration.nix
inputs.home-manager.nixosModules.default 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] 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] #ENC[AES256_GCM,data:igl42zvcTfvOnZ5eKnWHpw==,iv:ImJmyaweKF5ADkwTarcVGaKb3zb2ycXPzq0KItU64+k=,tag:ydg9C6ZO47QsLoguq60JCg==,type:comment]
wireless: 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: myservice:
my_subdir: my_subdir:
my_secret: ENC[AES256_GCM,data:LReh8HM87Fbj,iv:HJT6/8NYWePsSo1oBpoB62cnBS68ntkyYX7Pd0Q3DsA=,tag:sKSdst4zkQAHS+7JSDhbIg==,type:str] my_secret: ENC[AES256_GCM,data:LReh8HM87Fbj,iv:HJT6/8NYWePsSo1oBpoB62cnBS68ntkyYX7Pd0Q3DsA=,tag:sKSdst4zkQAHS+7JSDhbIg==,type:str]
sops: sops:
age: age:
- recipient: age1h0srffx69v9cp0xd8nzgac9zmxx0x5d8d7jrf3wgl3zea9luy5fsn9llrl - recipient: age1h0srffx69v9cp0xd8nzgac9zmxx0x5d8d7jrf3wgl3zea9luy5fsn9llrl
enc: | enc: |
-----BEGIN AGE ENCRYPTED FILE----- -----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBRazdLc2V3bU5WTXlLVnlB YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBRazdLc2V3bU5WTXlLVnlB
TlZGMlo2SlB6QlFyMzVPYmErVTh6QUpvMFJFCkdXTXozdlpiTVhkTEN5S2d5aVBu TlZGMlo2SlB6QlFyMzVPYmErVTh6QUpvMFJFCkdXTXozdlpiTVhkTEN5S2d5aVBu
YjZ6SU5NRVFxR1VZb2loeWZGN3VqUDQKLS0tIGxlZXhxTS9HL0V2YXRXVEc0RDVz YjZ6SU5NRVFxR1VZb2loeWZGN3VqUDQKLS0tIGxlZXhxTS9HL0V2YXRXVEc0RDVz
TGNWMXd1MmVaMndERGpFc1N0TklFNncKFvO2Y80Z0pLEdoKlmAJ0Me4SM/Y5v9bE TGNWMXd1MmVaMndERGpFc1N0TklFNncKFvO2Y80Z0pLEdoKlmAJ0Me4SM/Y5v9bE
qh5J4MvY2MFK9wlgYtql6Xe/OQjzsFLa0sgWE9FBwRwMefWFOgGuRQ== qh5J4MvY2MFK9wlgYtql6Xe/OQjzsFLa0sgWE9FBwRwMefWFOgGuRQ==
-----END AGE ENCRYPTED FILE----- -----END AGE ENCRYPTED FILE-----
lastmodified: "2025-12-27T02:57:35Z" lastmodified: "2025-12-27T02:57:35Z"
mac: ENC[AES256_GCM,data:bNJrWLD3uALsCLtC92W/hHxGXbm82OwaoLLJUgzrKzOyDaSOsboi4g8NGsi+xOSqyRYFkfIOSnk5Tw4DxDOtEkJPNPHk/0Wrn2bKHsmWTbLk3r9uoSJp2AwpXByFrbdc7x30uT/rivWJVVLFGoB98p0KrHAEhfJmDZEWCdFif2Q=,iv:1JYXNkD/ks5tKs167h0lbdzG4xUsXGAoZsDVQHwqY14=,tag:wqo3QRiN/L22OBVpL0AQgA==,type:str] mac: ENC[AES256_GCM,data:bNJrWLD3uALsCLtC92W/hHxGXbm82OwaoLLJUgzrKzOyDaSOsboi4g8NGsi+xOSqyRYFkfIOSnk5Tw4DxDOtEkJPNPHk/0Wrn2bKHsmWTbLk3r9uoSJp2AwpXByFrbdc7x30uT/rivWJVVLFGoB98p0KrHAEhfJmDZEWCdFif2Q=,iv:1JYXNkD/ks5tKs167h0lbdzG4xUsXGAoZsDVQHwqY14=,tag:wqo3QRiN/L22OBVpL0AQgA==,type:str]
unencrypted_suffix: _unencrypted unencrypted_suffix: _unencrypted
version: 3.11.0 version: 3.11.0