all: update CA

This commit is contained in:
Adithya 2024-07-16 22:29:44 +05:30
parent 94f7277dff
commit 94436da437
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
9 changed files with 42 additions and 25 deletions

View file

@ -1,4 +1,5 @@
_: { _: {
imports = [ ../shared/certs ];
security = { security = {
sudo = { sudo = {
wheelNeedsPassword = false; wheelNeedsPassword = false;

View file

@ -1,4 +1,5 @@
_: { _: {
imports = [ ../shared/certs ];
security = { security = {
sudo = { sudo = {
wheelNeedsPassword = false; wheelNeedsPassword = false;

View file

@ -1,4 +1,5 @@
_: { _: {
imports = [ ../shared/certs ];
security = { security = {
sudo = { sudo = {
wheelNeedsPassword = false; wheelNeedsPassword = false;

View file

@ -1,4 +1,5 @@
_: { _: {
imports = [ ../shared/certs ];
security = { security = {
sudo = { sudo = {
wheelNeedsPassword = false; wheelNeedsPassword = false;

View file

@ -0,0 +1,3 @@
_: {
security.pki.certificateFiles = [ ./labs.adtya.xyz.rootCA.pem ];
}

View file

@ -0,0 +1,33 @@
-----BEGIN CERTIFICATE-----
MIIFnzCCA4egAwIBAgIUQ0Gn1kz+ilGQC10QVXBFAuMu7MswDQYJKoZIhvcNAQEL
BQAwXzELMAkGA1UEBhMCSU4xFzAVBgNVBAoMDkFEVFlBLlhZWiBMYWJzMRcwFQYD
VQQDDA5sYWJzLmFkdHlhLnh5ejEeMBwGCSqGSIb3DQEJARYPYWRtaW5AYWR0eWEu
eHl6MB4XDTI0MDcxNjE2NTQ1NloXDTI1MDcxNjE2NTQ1NlowXzELMAkGA1UEBhMC
SU4xFzAVBgNVBAoMDkFEVFlBLlhZWiBMYWJzMRcwFQYDVQQDDA5sYWJzLmFkdHlh
Lnh5ejEeMBwGCSqGSIb3DQEJARYPYWRtaW5AYWR0eWEueHl6MIICIjANBgkqhkiG
9w0BAQEFAAOCAg8AMIICCgKCAgEApYEpiJTx9UY0xJuktxZtswi731XTKwLKL4n7
9qitYCZVE0DFkhj19dophOAfrl+ISbANVC2XFQlxMFERCe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v
jTW9yorg7CHjloiehgY0HFzs6ZMmqB4DVuZv5jIifLQx9i6S+bTqxfp4n5GqNlZe
gfKph0/M2kK0fXMcdS/o4hmRxk4Nh3gg2AJxhdHfVdUVp1gBBW3K5GIYZcS5+LbH
YB61i7+Zk2ytPHxhgBR3jASVy4ecCVgvAG4ab30bVq0f+N/7jeN5OBKiHZ+8lo09
tW7TT8Maw1YTgDpVvlxGTQd6soq1uO2dzce6vakCAwEAAaNTMFEwHQYDVR0OBBYE
FPN92mUdRebQsb8/iPLYlGCasX0wMB8GA1UdIwQYMBaAFPN92mUdRebQsb8/iPLY
lGCasX0wMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAB9vKYGg
YIwny0DhBkEnnGgxAe+uvK/ozS5hBBYQ1utLVeFLQ/jqZ0GtqPup762j+4ME9beh
IcwhuxQXG2GxBdjzgW8McuEEYR+uCphuKKvjq/VPmHcIqPske5LYtv3uk1t6/oOq
4jYyZqbY64i7yBAw8AFKUF/JQjxHuuXS4osKMHCWCoTKerWHZtOTVjH9o62wNwky
IytV5Mg6xGhdJKur2HmcojIsx1UyRqZJcKkJtayof89ZkoEz8rcbSyJQCWDVuFUn
MdXfjsO/yWxc3iFQEKTJtY5bMo+SOh18UDvwAgj9p9qsMOsfjQm82JKF8/FVvqV6
7HZvbtj1pFwntI8=
-----END CERTIFICATE-----

View file

@ -1,4 +1,5 @@
{ pkgs, ... }: { { pkgs, ... }: {
imports = [ ../shared/certs ];
security = { security = {
pam = { pam = {
services = { services = {
@ -14,7 +15,6 @@
}; };
}; };
}; };
pki.certificateFiles = [ ../shared/certs/local.adtya.xyz.CA.pem ];
polkit.enable = true; polkit.enable = true;
rtkit.enable = true; rtkit.enable = true;
sudo = { sudo = {

View file

@ -1,4 +1,5 @@
_: { _: {
imports = [ ../shared/certs ];
security = { security = {
sudo = { sudo = {
wheelNeedsPassword = false; wheelNeedsPassword = false;