Everything works decently (now using EXWM)

This commit is contained in:
Andrea Ciceri 2022-09-28 17:41:17 +02:00
parent 270252e5f8
commit dd4cbbb517
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654
19 changed files with 291 additions and 108 deletions

View file

@ -7,6 +7,19 @@
nix = {
settings = {
auto-optimise-store = true;
trusted-users = [
"root"
"ccr"
"@wheel"
];
trusted-public-keys = [
"hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
"mlabs.cachix.org-1:gStKdEqNKcrlSQw5iMW6wFCj3+b+1ASpBVY2SYuNV2M="
];
substituters = [
"https://cache.iog.io"
"https://mlabs.cachix.org/"
];
};
extraOptions = ''
@ -21,4 +34,13 @@
optimise.automatic = true;
};
age.secrets.mlabs-cachix.file = ../../secrets/mlabs-cachix.age;
system.activationScripts = {
populate-netrc.text = ''
cat <<EOF> /etc/nix/netrc
machine mlabs.cachix.org login "" password "$(cat ${config.age.secrets.mlabs-cachix.path})"
EOF
'';
};
}