add ccache
This commit is contained in:
parent
e777599504
commit
c828b15d88
18
flake.lock
18
flake.lock
|
@ -455,11 +455,11 @@
|
||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1673953056,
|
"lastModified": 1673958010,
|
||||||
"narHash": "sha256-C0AnzNLRVJ7ljgtWUtn9foD/3XyvoCSNjbPMVCFojp0=",
|
"narHash": "sha256-5SY1hQjLrl4vXaolP6Xf3+uMFitc06oe9ibB+x97Cds=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "Hyprland",
|
"repo": "Hyprland",
|
||||||
"rev": "f14e8088478bf1e80e02a213a23c528fe32d3b91",
|
"rev": "c31c627cf85ea4fd40c1647c84d89b5e6f186785",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -770,11 +770,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1673855649,
|
"lastModified": 1673954326,
|
||||||
"narHash": "sha256-Pc1VumquuFMDR1Ers1QOVDDabL/trVwfqWXeKJPXLQg=",
|
"narHash": "sha256-oAKwsXTptcY6gRCBxJlZ+W1BrZHNr9a28+4fQMLuRu0=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c85d08692966cf022b0a741a794cb1650602d8af",
|
"rev": "8fc3a1dcc98d3603221d4afd239e666eeedb6141",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -855,11 +855,11 @@
|
||||||
},
|
},
|
||||||
"nur": {
|
"nur": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1673935396,
|
"lastModified": 1674021312,
|
||||||
"narHash": "sha256-AkimCjK8quWnfMTmSKORp2tCs1dAifJD1BEn3bYnS/w=",
|
"narHash": "sha256-kW00Hpb2jqX7zDHnw/us7DH4lChTa6DoVcZZrd9CKwE=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "7e9a5b42d68ca84a91e082ad325318e01456d2b5",
|
"rev": "993b34d7fc525534c59229312c1ff21a976def54",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -2,3 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- websites.yaml
|
- websites.yaml
|
||||||
|
- security.yaml
|
||||||
|
|
5
flux/olympus/core/namespaces/security.yaml
Normal file
5
flux/olympus/core/namespaces/security.yaml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: security
|
|
@ -13,8 +13,8 @@
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot = {
|
boot = {
|
||||||
# kernelPackages = pkgs.linuxPackages_latest;
|
kernelPackages = pkgs.linuxPackages_latest;
|
||||||
kernelPackages = pkgs.linuxKernel.packages.linux_zen;
|
# kernelPackages = pkgs.linuxKernel.packages.linux_zen;
|
||||||
loader = {
|
loader = {
|
||||||
systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
|
@ -111,4 +111,13 @@
|
||||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||||
system.stateVersion = "23.05"; # Did you read the comment?
|
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) ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue