diff options
| author | Fuwn <[email protected]> | 2024-09-30 22:59:46 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-30 22:59:46 -0700 |
| commit | 9b23880767f709a531cc1caf115570139ad27dff (patch) | |
| tree | 2979d1c9920bbf803c2acee522ae866a16ad3b47 /hosts/fina/default.nix | |
| parent | ebisu: fix fina ip (diff) | |
| download | nixos-config-9b23880767f709a531cc1caf115570139ad27dff.tar.xz nixos-config-9b23880767f709a531cc1caf115570139ad27dff.zip | |
hosts: add fina
Diffstat (limited to 'hosts/fina/default.nix')
| -rw-r--r-- | hosts/fina/default.nix | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/hosts/fina/default.nix b/hosts/fina/default.nix new file mode 100644 index 0000000..28a8705 --- /dev/null +++ b/hosts/fina/default.nix @@ -0,0 +1,69 @@ +{ + pkgs, + ... +}: +{ + imports = [ + ./hardware-configuration.nix + ]; + + time.timeZone = "America/Los_Angeles"; + i18n.defaultLocale = "en_US.UTF-8"; + console.keyMap = "us"; + system.stateVersion = "24.05"; + + boot = { + loader.systemd-boot.enable = true; + loader.efi.canTouchEfiVariables = true; + }; + + networking = { + hostName = "fina"; + networkmanager.enable = true; + }; + + services = { + desktopManager.plasma6.enable = true; + printing.enable = true; + libinput.enable = true; + + displayManager.sddm = { + enable = true; + wayland.enable = true; + }; + + xserver.xkb = { + layout = "us"; + options = "caps:escape"; + }; + + pipewire = { + enable = true; + pulse.enable = true; + }; + + openssh = { + enable = true; + settings.PermitRootLogin = "yes"; + }; + }; + + users.users.ebisu = { + isNormalUser = true; + extraGroups = [ "wheel" ]; + }; + + environment.systemPackages = with pkgs; [ + vim + wget + ]; + + programs = { + mtr.enable = true; + + gnupg.agent = { + enable = true; + enableSSHSupport = true; + }; + }; +} |