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

View file

@ -1,4 +1,4 @@
{ lib, ... }: {
_: {
imports = [
./hardware
./programs
@ -7,26 +7,9 @@
./security.nix
];
nix.gc = {
automatic = true;
dates = "Fri *-*-* 00:00:00";
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;
nodeconfig = {
minimize = true;
nix.auto-gc = true;
};
i18n = {

View file

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

View file

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

View file

@ -1,4 +1,4 @@
{ lib, ... }: {
_: {
imports = [
./hardware
./programs
@ -8,26 +8,9 @@
./security.nix
];
nix.gc = {
automatic = true;
dates = "Fri *-*-* 00:00:00";
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;
nodeconfig = {
minimize = true;
nix.auto-gc = true;
};
# https://github.com/NixOS/nixpkgs/issues/126755#issuecomment-869149243

View file

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

View file

@ -1,4 +1,4 @@
{ lib, ... }: {
_: {
imports = [
./hardware
./programs
@ -8,26 +8,9 @@
./security.nix
];
nix.gc = {
automatic = true;
dates = "Fri *-*-* 00:00:00";
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;
nodeconfig = {
minimize = true;
nix.auto-gc = true;
};
# https://github.com/NixOS/nixpkgs/issues/126755#issuecomment-869149243

View file

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

View file

@ -1,4 +1,4 @@
{ lib, ... }: {
_: {
imports = [
./hardware
./programs
@ -7,26 +7,9 @@
./security.nix
];
nix.gc = {
automatic = true;
dates = "Fri *-*-* 00:00:00";
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;
nodeconfig = {
minimize = true;
nix.auto-gc = true;
};
i18n = {

View file

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