rico1: minimize

This commit is contained in:
Adithya 2024-07-04 23:59:32 +05:30
parent 40210de536
commit a52d4b91e2
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
3 changed files with 21 additions and 4 deletions

View file

@ -1,4 +1,4 @@
{ ... }: {
{ lib, ... }: {
imports = [
./hardware
./programs
@ -8,6 +8,21 @@
./security.nix
];
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
nixpkgs.overlays = [
(final: super: {

View file

@ -1,11 +1,14 @@
{ pkgs, ... }: {
{ pkgs, lib, ... }: {
imports = [
./neovim.nix
./starship.nix
./zsh.nix
];
programs.git.enable = true;
programs = {
command-not-found.enable = lib.mkDefault false;
git.enable = true;
};
environment.systemPackages = with pkgs; [
sops

View file

@ -8,5 +8,4 @@ _: {
./apps
];
}