dotfiles/hosts/nix-laptop/default.nix
eriedaberrie cde5575767 Initial commit
Note: not the actual initial commit.

I swear I will stop repeatedly force pushing to this single commit eventually
ok.
2024-08-29 08:31:12 -07:00

99 lines
1.6 KiB
Nix

{ pkgs, lib, ... }:
{
imports = [
./hardware-configuration.nix
./wireguard.nix
];
time.timeZone = "America/Los_Angeles";
my = {
user = {
username = "errie";
homeModule = ./home;
};
bootloader.type = "systemdBoot";
fs = {
bootPartition = true;
snapshots = true;
type = "btrfs";
};
networking = {
networkManager.enable = true;
eddie = {
enable = true;
allowedTCPPorts = [ 50459 ];
};
};
bin-compat.enable = true;
interception.enable = true;
location.enable = true;
virt-manager.enable = true;
wireshark.enable = true;
syncthing = {
enable = true;
asUser = true;
};
cli = {
fish.enable = true;
nix-index.enable = true;
};
desktop = {
enable = true;
audio.enable = true;
bluetooth.enable = true;
gaming.enable = true;
hyprland.enable = true;
printing.enable = true;
};
};
systemd.services.nginx.wantedBy = lib.mkForce [ ];
environment.systemPackages = with pkgs; [
gcc
dos2unix
];
programs = {
zsh.enable = true;
git.package = pkgs.gitFull;
};
services = {
flatpak.enable = true;
openssh.enable = true;
mullvad-vpn = {
enable = true;
package = pkgs.mullvad-vpn;
};
nginx = {
enable = true;
virtualHosts."127.0.0.1" = {
listen = [
{
addr = "127.0.0.1";
port = 80;
}
];
locations."/" = {
proxyPass = "http://127.0.0.1:3000/";
};
};
};
};
system.stateVersion = "22.11";
}