Config rearrange

This commit is contained in:
John Locke 2024-03-10 01:00:55 -08:00
parent b06850dfc0
commit 8f2cd4184a
9 changed files with 26 additions and 13 deletions

3
base/README.md Normal file
View file

@ -0,0 +1,3 @@
## Base packages
Packages to install on all systems, desktop and server.

View file

@ -24,4 +24,16 @@
];
programs.mtr.enable = true;
# Set your time zone.
time.timeZone = "America/Los_Angeles";
# Shells
programs.zsh.enable = true;
programs.fish.enable = true;
programs.ssh.startAgent = true;
programs.ssh.askPassword = pkgs.lib.mkForce "${pkgs.ksshaskpass.out}/bin/ksshaskpass";
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
}

7
desktop/README.md Normal file
View file

@ -0,0 +1,7 @@
# Desktop configs
The default desktop includes the system base and common GUI apps including several browsers, Thunderbird, shell configs, and KDE.
For regular office apps, in your host config include the office.nix file.
For developer tools, include the dev.nix file.

View file

@ -6,9 +6,9 @@
imports = [
../base
./common.nix
./compat.nix
./i18n.nix
./include/common.nix
./include/compat.nix
./include/i18n.nix
];
# Bootloader.
@ -31,14 +31,6 @@
services.xserver.desktopManager.plasma6.enable = true;
services.xserver.desktopManager.gnome.enable = true;
# Set your time zone.
time.timeZone = "America/Los_Angeles";
# Shells
programs.zsh.enable = true;
programs.fish.enable = true;
programs.ssh.startAgent = true;
programs.ssh.askPassword = pkgs.lib.mkForce "${pkgs.ksshaskpass.out}/bin/ksshaskpass";
# Enable CUPS to print documents.
services.printing.enable = true;
@ -48,6 +40,7 @@
master = "salt.freelock.lan";
location = [ "freelock" ];
};
# Enable sound with pipewire.
sound.enable = true;
hardware.pulseaudio.enable = false;
@ -76,8 +69,6 @@
shell = pkgs.fish;
};
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
nixpkgs.config.permittedInsecurePackages = [
"electron-25.9.0"
];

0
hosts/README.md Normal file
View file

0
server/README.md Normal file
View file