all: gets module treatment

This commit is contained in:
Adithya 2024-07-05 02:29:05 +05:30
parent 19bd80282d
commit 27dc382f9e
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
10 changed files with 25 additions and 93 deletions

View file

@ -131,6 +131,7 @@
sops-nix.nixosModules.sops sops-nix.nixosModules.sops
./common ./common
./hosts/rico1 ./hosts/rico1
self.nixosModules.default
]; ];
}; };
Rico2 = Rico2 =
@ -151,6 +152,7 @@
} }
lix-module.nixosModules.default lix-module.nixosModules.default
sops-nix.nixosModules.sops sops-nix.nixosModules.sops
self.nixosModules.default
./common ./common
./hosts/rico2 ./hosts/rico2
]; ];
@ -173,6 +175,7 @@
} }
lix-module.nixosModules.default lix-module.nixosModules.default
sops-nix.nixosModules.sops sops-nix.nixosModules.sops
self.nixosModules.default
./common ./common
./hosts/wynne ./hosts/wynne
]; ];
@ -195,6 +198,7 @@
} }
lix-module.nixosModules.default lix-module.nixosModules.default
sops-nix.nixosModules.sops sops-nix.nixosModules.sops
self.nixosModules.default
./common ./common
./hosts/layne ./hosts/layne
]; ];

View file

@ -1,4 +1,4 @@
{ lib, ... }: { _: {
imports = [ imports = [
./hardware ./hardware
./programs ./programs
@ -7,26 +7,9 @@
./security.nix ./security.nix
]; ];
nix.gc = { nodeconfig = {
automatic = true; minimize = true;
dates = "Fri *-*-* 00:00:00"; nix.auto-gc = true;
options = "--delete-old";
randomizedDelaySec = "1h";
};
documentation = {
enable = lib.mkDefault false;
doc.enable = lib.mkDefault false;
info.enable = lib.mkDefault false;
man.enable = lib.mkDefault false;
nixos.enable = lib.mkDefault false;
};
xdg = {
autostart.enable = lib.mkDefault false;
icons.enable = lib.mkDefault false;
mime.enable = lib.mkDefault false;
sounds.enable = lib.mkDefault false;
}; };
i18n = { i18n = {

View file

@ -1,4 +1,4 @@
{ pkgs, lib, ... }: { { pkgs, ... }: {
imports = [ imports = [
./neovim.nix ./neovim.nix
./starship.nix ./starship.nix
@ -6,7 +6,6 @@
]; ];
programs = { programs = {
command-not-found.enable = lib.mkDefault false;
git.enable = true; git.enable = true;
}; };

View file

@ -1,4 +1,4 @@
{ pkgs, lib, ... }: { { pkgs, ... }: {
imports = [ imports = [
./neovim.nix ./neovim.nix
./starship.nix ./starship.nix

View file

@ -1,4 +1,4 @@
{ lib, ... }: { _: {
imports = [ imports = [
./hardware ./hardware
./programs ./programs
@ -8,26 +8,9 @@
./security.nix ./security.nix
]; ];
nix.gc = { nodeconfig = {
automatic = true; minimize = true;
dates = "Fri *-*-* 00:00:00"; nix.auto-gc = true;
options = "--delete-old";
randomizedDelaySec = "1h";
};
documentation = {
enable = lib.mkDefault false;
doc.enable = lib.mkDefault false;
info.enable = lib.mkDefault false;
man.enable = lib.mkDefault false;
nixos.enable = lib.mkDefault false;
};
xdg = {
autostart.enable = lib.mkDefault false;
icons.enable = lib.mkDefault false;
mime.enable = lib.mkDefault false;
sounds.enable = lib.mkDefault false;
}; };
# https://github.com/NixOS/nixpkgs/issues/126755#issuecomment-869149243 # https://github.com/NixOS/nixpkgs/issues/126755#issuecomment-869149243

View file

@ -1,4 +1,4 @@
{ pkgs, lib, ... }: { { pkgs, ... }: {
imports = [ imports = [
./neovim.nix ./neovim.nix
./starship.nix ./starship.nix
@ -6,7 +6,6 @@
]; ];
programs = { programs = {
command-not-found.enable = lib.mkDefault false;
git.enable = true; git.enable = true;
}; };

View file

@ -1,4 +1,4 @@
{ lib, ... }: { _: {
imports = [ imports = [
./hardware ./hardware
./programs ./programs
@ -8,26 +8,9 @@
./security.nix ./security.nix
]; ];
nix.gc = { nodeconfig = {
automatic = true; minimize = true;
dates = "Fri *-*-* 00:00:00"; nix.auto-gc = true;
options = "--delete-old";
randomizedDelaySec = "1h";
};
documentation = {
enable = lib.mkDefault false;
doc.enable = lib.mkDefault false;
info.enable = lib.mkDefault false;
man.enable = lib.mkDefault false;
nixos.enable = lib.mkDefault false;
};
xdg = {
autostart.enable = lib.mkDefault false;
icons.enable = lib.mkDefault false;
mime.enable = lib.mkDefault false;
sounds.enable = lib.mkDefault false;
}; };
# https://github.com/NixOS/nixpkgs/issues/126755#issuecomment-869149243 # https://github.com/NixOS/nixpkgs/issues/126755#issuecomment-869149243

View file

@ -1,4 +1,4 @@
{ pkgs, lib, ... }: { { pkgs, ... }: {
imports = [ imports = [
./neovim.nix ./neovim.nix
./starship.nix ./starship.nix
@ -6,7 +6,6 @@
]; ];
programs = { programs = {
command-not-found.enable = lib.mkDefault false;
git.enable = true; git.enable = true;
}; };

View file

@ -1,4 +1,4 @@
{ lib, ... }: { _: {
imports = [ imports = [
./hardware ./hardware
./programs ./programs
@ -7,26 +7,9 @@
./security.nix ./security.nix
]; ];
nix.gc = { nodeconfig = {
automatic = true; minimize = true;
dates = "Fri *-*-* 00:00:00"; nix.auto-gc = true;
options = "--delete-old";
randomizedDelaySec = "1h";
};
documentation = {
enable = lib.mkDefault false;
doc.enable = lib.mkDefault false;
info.enable = lib.mkDefault false;
man.enable = lib.mkDefault false;
nixos.enable = lib.mkDefault false;
};
xdg = {
autostart.enable = lib.mkDefault false;
icons.enable = lib.mkDefault false;
mime.enable = lib.mkDefault false;
sounds.enable = lib.mkDefault false;
}; };
i18n = { i18n = {

View file

@ -1,4 +1,4 @@
{ pkgs, lib, ... }: { { pkgs, ... }: {
imports = [ imports = [
./neovim.nix ./neovim.nix
./starship.nix ./starship.nix
@ -6,7 +6,6 @@
]; ];
programs = { programs = {
command-not-found.enable = lib.mkDefault false;
git.enable = true; git.enable = true;
}; };