diff options
author | Patrick Spek <p.spek@tyil.nl> | 2023-04-24 13:18:32 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2023-04-24 13:18:39 +0200 |
commit | 5069eaed874dd1b3a8f03abce8ffeba45b3d7fb5 (patch) | |
tree | f9f2de25eddf9a52e44c54f0427cdb2808210f2d /data.d/etc-nixos/env/global.nix | |
parent | 4c5ac5605c0b5d49d24233e77affa18cf4866a2a (diff) |
Initial draft for nixos envs
Diffstat (limited to 'data.d/etc-nixos/env/global.nix')
-rw-r--r-- | data.d/etc-nixos/env/global.nix | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/data.d/etc-nixos/env/global.nix b/data.d/etc-nixos/env/global.nix new file mode 100644 index 0000000..6ea9db4 --- /dev/null +++ b/data.d/etc-nixos/env/global.nix @@ -0,0 +1,54 @@ +{ config, pkgs, ... }: + +{ + boot = { + supportedFilesystems = [ "zfs" ]; + zfs = { + forceImportRoot = false; + }; + }; + + environment = { + systemPackages = with pkgs; [ + borgbackup + git + gnupg + jq + mosh + silver-searcher + tmux + vim + ]; + }; + + i18n = { + defaultLocale = "en_US.UTF-8"; + }; + + networking = { + domain = "tyil.net"; + }; + + services = { + openssh = { + enable = true; + }; + }; + + system = { + copySystemConfiguration = true; + }; + + time = { + timeZone = "Europe/Amsterdam"; + }; + + users = { + users = { + tyil = { + isNormalUser = true; + extraGroups = [ "wheel" ]; + }; + }; + }; +} |