76c7e39a0a
Note: not the actual initial commit. I swear I will stop repeatedly force pushing to this single commit eventually ok.
98 lines
1.7 KiB
Nix
98 lines
1.7 KiB
Nix
{ pkgs, lib, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
];
|
|
|
|
time.timeZone = "America/Los_Angeles";
|
|
|
|
my = {
|
|
user = {
|
|
username = "errie";
|
|
homeModule = ./home;
|
|
};
|
|
|
|
secure-boot.enable = true;
|
|
bootloader.type = "systemdBoot";
|
|
|
|
fs = {
|
|
luks.enable = true;
|
|
ssd.enable = true;
|
|
bootPartition = true;
|
|
snapshots = true;
|
|
type = "btrfs";
|
|
};
|
|
|
|
laptop = {
|
|
enable = true;
|
|
amd.enable = true;
|
|
};
|
|
|
|
networking = {
|
|
networkManager.enable = true;
|
|
eddie = let
|
|
forwardedPorts = [ 14110 50459 ];
|
|
in {
|
|
enable = true;
|
|
allowedTCPPorts = forwardedPorts;
|
|
allowedUDPPorts = forwardedPorts;
|
|
};
|
|
};
|
|
|
|
bin-compat.enable = true;
|
|
docker.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;
|
|
sudo.insults.enable = true;
|
|
};
|
|
|
|
desktop = {
|
|
enable = true;
|
|
audio.enable = true;
|
|
bluetooth.enable = true;
|
|
gaming.enable = true;
|
|
hyprland.enable = true;
|
|
printing.enable = true;
|
|
};
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
dos2unix
|
|
amdgpu_top
|
|
(p7zip.override {enableUnfree = true;})
|
|
];
|
|
|
|
programs = {
|
|
git.package = pkgs.gitFull;
|
|
};
|
|
|
|
hardware.sensor.iio.enable = true;
|
|
|
|
services = {
|
|
fwupd.enable = true;
|
|
|
|
flatpak.enable = true;
|
|
|
|
openssh = {
|
|
enable = true;
|
|
settings = {
|
|
PasswordAuthentication = false;
|
|
};
|
|
};
|
|
};
|
|
|
|
system.stateVersion = "23.11";
|
|
}
|