add ccache

This commit is contained in:
Vivian 2023-01-18 09:42:09 +01:00
parent e777599504
commit c828b15d88
4 changed files with 26 additions and 11 deletions

View file

@ -455,11 +455,11 @@
"xdph": "xdph"
},
"locked": {
"lastModified": 1673953056,
"narHash": "sha256-C0AnzNLRVJ7ljgtWUtn9foD/3XyvoCSNjbPMVCFojp0=",
"lastModified": 1673958010,
"narHash": "sha256-5SY1hQjLrl4vXaolP6Xf3+uMFitc06oe9ibB+x97Cds=",
"owner": "hyprwm",
"repo": "Hyprland",
"rev": "f14e8088478bf1e80e02a213a23c528fe32d3b91",
"rev": "c31c627cf85ea4fd40c1647c84d89b5e6f186785",
"type": "github"
},
"original": {
@ -770,11 +770,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1673855649,
"narHash": "sha256-Pc1VumquuFMDR1Ers1QOVDDabL/trVwfqWXeKJPXLQg=",
"lastModified": 1673954326,
"narHash": "sha256-oAKwsXTptcY6gRCBxJlZ+W1BrZHNr9a28+4fQMLuRu0=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "c85d08692966cf022b0a741a794cb1650602d8af",
"rev": "8fc3a1dcc98d3603221d4afd239e666eeedb6141",
"type": "github"
},
"original": {
@ -855,11 +855,11 @@
},
"nur": {
"locked": {
"lastModified": 1673935396,
"narHash": "sha256-AkimCjK8quWnfMTmSKORp2tCs1dAifJD1BEn3bYnS/w=",
"lastModified": 1674021312,
"narHash": "sha256-kW00Hpb2jqX7zDHnw/us7DH4lChTa6DoVcZZrd9CKwE=",
"owner": "nix-community",
"repo": "NUR",
"rev": "7e9a5b42d68ca84a91e082ad325318e01456d2b5",
"rev": "993b34d7fc525534c59229312c1ff21a976def54",
"type": "github"
},
"original": {

View file

@ -2,3 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- websites.yaml
- security.yaml

View file

@ -0,0 +1,5 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: security

View file

@ -13,8 +13,8 @@
# Bootloader.
boot = {
# kernelPackages = pkgs.linuxPackages_latest;
kernelPackages = pkgs.linuxKernel.packages.linux_zen;
kernelPackages = pkgs.linuxPackages_latest;
# kernelPackages = pkgs.linuxKernel.packages.linux_zen;
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
@ -111,4 +111,13 @@
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "23.05"; # Did you read the comment?
# Enable ccache
programs.ccache.enable = true;
programs.ccache.packageNames = [
# "linux"
# "webkitgtk"
# "qtwebengine"
];
nix.settings.extra-sandbox-paths =
[ (toString config.programs.ccache.cacheDir) ];
}