Update flake.lock and vscode configuration

- Updated package references in flake.lock for various dependencies.
- Changed VSCode package from vscodium to vscode and updated extensions.
- Enabled SSH agent start in ssh.nix.
- Refined overlays in default.nix for better package management.
This commit is contained in:
2025-07-23 11:13:43 -03:00
parent 93de9d3665
commit 5c62858c37
4 changed files with 116 additions and 67 deletions

103
flake.lock generated
View File

@@ -108,11 +108,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1752595834, "lastModified": 1753201456,
"narHash": "sha256-vGUfuAmXbHo2Rl8iw3F2cQrmkbe51hl/ud6GEH9GSvc=", "narHash": "sha256-dwx5SvXyo7bd8sR4qe4kAKVmoYDKrGDeLymMoR6rObY=",
"owner": "cachix", "owner": "cachix",
"repo": "devenv", "repo": "devenv",
"rev": "b86afe223d628ac22f3d35e7b6bb9eb06b0e1023", "rev": "39662b2c5b94ad06573c9aac4fe9f671260d1587",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -128,11 +128,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1752541678, "lastModified": 1753140376,
"narHash": "sha256-dyhGzkld6jPqnT/UfGV2oqe7tYn7hppAqFvF3GZTyXY=", "narHash": "sha256-7lrVrE0jSvZHrxEzvnfHFE/Wkk9DDqb+mYCodI5uuB8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "2bf3421f7fed5c84d9392b62dcb9d76ef09796a7", "rev": "545aba02960caa78a31bd9a8709a0ad4b6320a5c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -219,11 +219,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1751413152, "lastModified": 1749398372,
"narHash": "sha256-Tyw1RjYEsp5scoigs1384gIg6e0GoBVjms4aXFfRssQ=", "narHash": "sha256-tYBdgS56eXYaWVW3fsnPQ/nFlgWi/Z2Ymhyu21zVM98=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "77826244401ea9de6e3bac47c2db46005e1f30b5", "rev": "9305fe4e5c2a6fcf5ba6a3ff155720fbe4076569",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -336,11 +336,11 @@
}, },
"hardware": { "hardware": {
"locked": { "locked": {
"lastModified": 1752048960, "lastModified": 1753122741,
"narHash": "sha256-gATnkOe37eeVwKKYCsL+OnS2gU4MmLuZFzzWCtaKLI8=", "narHash": "sha256-nFxE8lk9JvGelxClCmwuJYftbHqwnc01dRN4DVLUroM=",
"owner": "nixos", "owner": "nixos",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "7ced9122cff2163c6a0212b8d1ec8c33a1660806", "rev": "cc66fddc6cb04ab479a1bb062f4d4da27c936a22",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -356,11 +356,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1752544374, "lastModified": 1753198507,
"narHash": "sha256-ReX0NG6nIAEtQQjLqeu1vUU2jjZuMlpymNtb4VQYeus=", "narHash": "sha256-NCG6izg+B3zsCwcT6+ssiWT3Y202jhOqGL/zh6fofa4=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "2e00ed310c218127e02ffcf28ddd4e0f669fde3e", "rev": "fce051eaf881220843401df545a1444ab676520c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -393,11 +393,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1752251701, "lastModified": 1752773918,
"narHash": "sha256-fkkkwB7jz+14ZdIHAYCCNypO9EZDCKpj7LEQZhV6QJs=", "narHash": "sha256-dOi/M6yNeuJlj88exI+7k154z+hAhFcuB8tZktiW7rg=",
"owner": "cachix", "owner": "cachix",
"repo": "nix", "repo": "nix",
"rev": "54df04f09cb084b9e58529c0ae6f53f0e50f1a19", "rev": "031c3cf42d2e9391eee373507d8c12e0f9606779",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -435,11 +435,11 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1752545719, "lastModified": 1753150427,
"narHash": "sha256-kHs5CC4EDx7iDew0gLvJYgMBtHfU81FH7VdL9IIrp30=", "narHash": "sha256-9nOy2nSdUMeyHLPsKkXFrkGfXADLqSJxdHqPlPWpys4=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nix4vscode", "repo": "nix4vscode",
"rev": "1b61b3f647c3789df0e51c9e6adc4d99764272d1", "rev": "5a52095238fd503ce3c7db58a6c8e575de4ded73",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -450,11 +450,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1752048960, "lastModified": 1753122741,
"narHash": "sha256-gATnkOe37eeVwKKYCsL+OnS2gU4MmLuZFzzWCtaKLI8=", "narHash": "sha256-nFxE8lk9JvGelxClCmwuJYftbHqwnc01dRN4DVLUroM=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "7ced9122cff2163c6a0212b8d1ec8c33a1660806", "rev": "cc66fddc6cb04ab479a1bb062f4d4da27c936a22",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -514,11 +514,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1752480373, "lastModified": 1752950548,
"narHash": "sha256-JHQbm+OcGp32wAsXTE/FLYGNpb+4GLi5oTvCxwSoBOA=", "narHash": "sha256-NS6BLD0lxOrnCiEOcvQCDVPXafX1/ek1dfJHX1nUIzc=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "62e0f05ede1da0d54515d4ea8ce9c733f12d9f08", "rev": "c87b95e25065c028d31a94f06a62927d18763fdf",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -530,11 +530,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1752436162, "lastModified": 1753115646,
"narHash": "sha256-Kt1UIPi7kZqkSc5HVj6UY5YLHHEzPBkgpNUByuyxtlw=", "narHash": "sha256-yLuz5cz5Z+sn8DRAfNkrd2Z1cV6DaYO9JMrEz4KZo/c=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "dfcd5b901dbab46c9c6e80b265648481aafb01f8", "rev": "92c2e04a475523e723c67ef872d8037379073681",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -553,14 +553,15 @@
"nixpkgs": [ "nixpkgs": [
"stylix", "stylix",
"nixpkgs" "nixpkgs"
] ],
"treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1751906969, "lastModified": 1751320053,
"narHash": "sha256-BSQAOdPnzdpOuCdAGSJmefSDlqmStFNScEnrWzSqKPw=", "narHash": "sha256-3m6RMw0FbbaUUa01PNaMLoO7D99aBClmY5ed9V3vz+0=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "ddb679f4131e819efe3bbc6457ba19d7ad116f25", "rev": "cbde1735782f9c2bb2c63d5e05fba171a14a4670",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -630,11 +631,11 @@
"tinted-zed": "tinted-zed" "tinted-zed": "tinted-zed"
}, },
"locked": { "locked": {
"lastModified": 1752531913, "lastModified": 1753118965,
"narHash": "sha256-5NCCOtkbNQEjXc7c+QO41p8etnIfCGQvmOC1SXBcNqQ=", "narHash": "sha256-RHZNeVbXnr4rt9Wvbmg8nSpVlYV5QQBSnRIz3jURJQI=",
"owner": "danth", "owner": "danth",
"repo": "stylix", "repo": "stylix",
"rev": "fd4572ba1673cc37a3cf96679bb3638d3d890a34", "rev": "d0951c8aefde767adb8bbc8bf75898a67048f360",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -756,6 +757,28 @@
"type": "github" "type": "github"
} }
}, },
"treefmt-nix": {
"inputs": {
"nixpkgs": [
"stylix",
"nur",
"nixpkgs"
]
},
"locked": {
"lastModified": 1733222881,
"narHash": "sha256-JIPcz1PrpXUCbaccEnrcUS8jjEb/1vJbZz5KkobyFdM=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "49717b5af6f80172275d47a418c9719a31a78b53",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "treefmt-nix",
"type": "github"
}
},
"zen-browser": { "zen-browser": {
"inputs": { "inputs": {
"home-manager": [ "home-manager": [
@@ -766,11 +789,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1752584655, "lastModified": 1753069499,
"narHash": "sha256-nPHrsq0vSh0+BqV2xAAVsfoVqzP9KYG7Zicc6oA0nfk=", "narHash": "sha256-YtgY0ueqKNrBma4Euu8WH23BhUkBujirJDMDE1KujnU=",
"owner": "0xc000022070", "owner": "0xc000022070",
"repo": "zen-browser-flake", "repo": "zen-browser-flake",
"rev": "759a7860416dfd8c86f383d4ea4009bb034d869c", "rev": "c64b94235ae24e3b9e01a08f0331d8bb0e5b037a",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -16,7 +16,7 @@
programs.vscode = { programs.vscode = {
enable = true; enable = true;
package = pkgs.vscodium; package = pkgs.vscode;
enableUpdateCheck = false; # Disable VSCode self-update and let Home Manager to manage VSCode versions instead. enableUpdateCheck = false; # Disable VSCode self-update and let Home Manager to manage VSCode versions instead.
enableExtensionUpdateCheck = false; # Disable extensions auto-update and let nix4vscode manage updates and extensions enableExtensionUpdateCheck = false; # Disable extensions auto-update and let nix4vscode manage updates and extensions
mutableExtensionsDir = false; mutableExtensionsDir = false;
@@ -25,8 +25,10 @@
# General extensions # General extensions
## Code Completion ## Code Completion
"continue.continue" "GitHub.copilot"
"rooveterinaryinc.roo-cline" "GitHub.copilot-chat"
#"continue.continue"
#"rooveterinaryinc.roo-cline"
#"saoudrizwan.claude-dev" #"saoudrizwan.claude-dev"
## Development Environment ## Development Environment
@@ -70,7 +72,6 @@
# Settings # Settings
userSettings = { userSettings = {
"telemetry.feedback.enabled" = false; "telemetry.feedback.enabled" = false;
"telemetry.telemetryLevel" = "off";
"github.copilot.enableTelemetry" = false; "github.copilot.enableTelemetry" = false;
"editor.linkedEditing" = true; "editor.linkedEditing" = true;
@@ -83,8 +84,38 @@
"workbench.navigationControl.enabled" = false; "workbench.navigationControl.enabled" = false;
"workbench.layoutControl.enabled" = false; "workbench.layoutControl.enabled" = false;
#"github.copilot.editor.enableAutoCompletions" = true; # Privacy and Security
# 🛑 Core telemetry & crash reporting
"telemetry.telemetryLevel" = "off";
"telemetry.enableTelemetry" = false;
"telemetry.enableCrashReporter" = false;
# 🚫 Disable feedback prompts
"telemetry.disableFeedback" = true;
# 🔬 Turn off experiments and naturallanguage features
"workbench.enableExperiments" = false;
"workbench.settings.enableNaturalLanguageSearch" = false;
# 🔄 Prevent autoupdates & recommendations
"extensions.autoUpdate" = false;
"extensions.ignoreRecommendations" = true;
# 🧩 Popular extensionspecific telemetry optouts
"code-runner.enableAppInsights" = false;
"docker-explorer.enableTelemetry" = false;
"gitlens.showWelcomeOnInstall" = false;
"gitlens.showWhatsNewAfterUpgrades" = false;
"java.help.showReleaseNotes" = false;
"julia.enableTelemetry" = false;
"Lua.telemetry.enable" = false;
"material-icon-theme.showWelcomeMessage" = false;
"pros.showWelcomeOnStartup" = false;
"redhat.telemetry.enabled" = false; "redhat.telemetry.enabled" = false;
"sonarlint.disableTelemetry" = true;
"terraform.telemetry.enabled" = false;
"vsicons.dontShowNewVersionMessage" = true;
"workbench.welcomePage.walkthroughs.openOnInstall" = false;
}; };
}; };
} }

View File

@@ -4,7 +4,7 @@
... ...
}: { }: {
programs.ssh = lib.optionalAttrs pkgs.stdenv.isLinux { programs.ssh = lib.optionalAttrs pkgs.stdenv.isLinux {
startAgent = false; startAgent = true;
enableAskPassword = true; enableAskPassword = true;
}; };
} }

View File

@@ -15,24 +15,19 @@
linuxModifications = final: prev: prev.lib.mkIf final.stdenv.isLinux {}; linuxModifications = final: prev: prev.lib.mkIf final.stdenv.isLinux {};
modifications = final: prev: { modifications = final: prev: {
# example = prev.example.overrideAttrs (oldAttrs: let ... in {
# ...
# });
# flameshot = prev.flameshot.overrideAttrs {
# cmakeFlags = [
# (prev.lib.cmakeBool "USE_WAYLAND_GRIM" true)
# (prev.lib.cmakeBool "USE_WAYLAND_CLIPBOARD" true)
# ];
# };
overlays = [ overlays = [
inputs.nix4vscode.overlays.forVscode inputs.nix4vscode.overlays.default
(self: super: { (self: super: {
vscodium = vscode = final.unstable.vscode;
super.vscodium.overrideAttrs (oldAttrs: rec { vscodium = final.unstable.vscodium;
})
(self: super: {
vscodium = super.vscodium.overrideAttrs (oldAttrs: rec {
nativeBuildInputs = oldAttrs.nativeBuildInputs or [] ++ [self.makeWrapper]; nativeBuildInputs = oldAttrs.nativeBuildInputs or [] ++ [self.makeWrapper];
postInstall = postInstall =
oldAttrs.postInstall (oldAttrs.postInstall or "")
or ""
+ '' + ''
wrapProgram $out/bin/codium --set LD_LIBRARY_PATH "${self.stdenv.cc.cc.lib}/lib/" wrapProgram $out/bin/codium --set LD_LIBRARY_PATH "${self.stdenv.cc.cc.lib}/lib/"
''; '';