Desktop Updates Fri May 30 01:41:10 PM CDT 2025

This commit is contained in:
mjallen18
2025-05-30 13:41:10 -05:00
parent eece0b01f4
commit f9f512ee1e
9 changed files with 198 additions and 42 deletions

View File

@@ -4,6 +4,7 @@
{
pkgs,
lib,
...
}:
{
@@ -135,5 +136,41 @@
libvirtd.enable = true;
};
nixpkgs.config.allowUnfree = true;
# Enable nix flakes and nix-command tools
nix = {
settings = {
substituters = [
"https://nix-community.cachix.org"
"https://cache.nixos.org/"
];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
warn-dirty = lib.mkForce false;
experimental-features = lib.mkForce [
"nix-command"
"flakes"
];
trusted-users = [ "@wheel" ];
};
# Garbage collect automatically every week
gc.automatic = lib.mkDefault true;
gc.options = lib.mkDefault "--delete-older-than 30d";
optimise.automatic = lib.mkDefault true;
};
# Nixpkgs configuration
nixpkgs = {
config = {
allowUnfree = lib.mkForce true;
permittedInsecurePackages = [
# ...
];
};
};
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"vscode-extension-github-copilot"
];
}