Config rearrange
This commit is contained in:
parent
b06850dfc0
commit
8f2cd4184a
9 changed files with 26 additions and 13 deletions
3
base/README.md
Normal file
3
base/README.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
## Base packages
|
||||||
|
|
||||||
|
Packages to install on all systems, desktop and server.
|
|
@ -24,4 +24,16 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.mtr.enable = true;
|
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
7
desktop/README.md
Normal 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.
|
|
@ -6,9 +6,9 @@
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
../base
|
../base
|
||||||
./common.nix
|
./include/common.nix
|
||||||
./compat.nix
|
./include/compat.nix
|
||||||
./i18n.nix
|
./include/i18n.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
|
@ -31,14 +31,6 @@
|
||||||
services.xserver.desktopManager.plasma6.enable = true;
|
services.xserver.desktopManager.plasma6.enable = true;
|
||||||
services.xserver.desktopManager.gnome.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.
|
# Enable CUPS to print documents.
|
||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
|
@ -48,6 +40,7 @@
|
||||||
master = "salt.freelock.lan";
|
master = "salt.freelock.lan";
|
||||||
location = [ "freelock" ];
|
location = [ "freelock" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable sound with pipewire.
|
# Enable sound with pipewire.
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
hardware.pulseaudio.enable = false;
|
hardware.pulseaudio.enable = false;
|
||||||
|
@ -76,8 +69,6 @@
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Allow unfree packages
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
nixpkgs.config.permittedInsecurePackages = [
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
"electron-25.9.0"
|
"electron-25.9.0"
|
||||||
];
|
];
|
||||||
|
|
0
hosts/README.md
Normal file
0
hosts/README.md
Normal file
0
server/README.md
Normal file
0
server/README.md
Normal file
Loading…
Reference in a new issue