diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-09-08 15:17:08 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-09-08 15:17:08 +0200 |
commit | 623c33a30d2987e6366b04bbf63b0e389447a366 (patch) | |
tree | fea9264d07e352c0fb029795a470878996cf537d /modules/base-client.nix | |
parent | Some refactoring work... (diff) | |
download | Rory-Open-Architecture-623c33a30d2987e6366b04bbf63b0e389447a366.tar.xz |
works?
Diffstat (limited to 'modules/base-client.nix')
-rwxr-xr-x | modules/base-client.nix | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/modules/base-client.nix b/modules/base-client.nix new file mode 100755 index 0000000..1f482ee --- /dev/null +++ b/modules/base-client.nix @@ -0,0 +1,61 @@ +{ config, pkgs, lib, ... }: + +{ + imports = + [ + ./base.nix + ]; + + networking = { + hostName = lib.mkDefault "Rory-nix-base"; + firewall = { + enable = false; + # allowedTCPPorts = [ ... ]; + # allowedUDPPorts = [ ... ]; + }; + }; + + i18n.defaultLocale = "en_US.UTF-8"; + + systemd = { + sleep.extraConfig = '' + AllowSuspend=no + AllowHibernation=no + ''; + }; + + environment.systemPackages = with pkgs; [ + # - cli utils + sshfs + + # - gui utils + gnome-console + cinnamon.nemo + feh + udisks + gparted + ]; + + fonts.fonts = with pkgs; [ + (nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) + ]; + + systemd.coredump.extraConfig = lib.mkDefault '' + Storage=none + ''; + nix = { + settings = { + experimental-features = [ "nix-command" "flakes" ]; + auto-optimise-store = true; + }; + }; + nixpkgs = { + config.allowUnfree = true; + }; + security = { + polkit.enable = true; + sudo.wheelNeedsPassword = false; + }; + + system.stateVersion = "22.11"; # DO NOT EDIT! +} |