2023-07-06 19:32:19 +00:00
|
|
|
{pkgs, ...}: let
|
|
|
|
username = "jolheiser";
|
2023-06-28 20:48:01 +00:00
|
|
|
in {
|
2023-09-01 04:09:18 +00:00
|
|
|
imports = [./hardware.nix ../common/gui];
|
2023-06-28 20:48:01 +00:00
|
|
|
|
|
|
|
boot = {
|
|
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
2023-07-06 19:32:19 +00:00
|
|
|
kernelParams = ["quiet" "splash"];
|
2023-06-28 20:48:01 +00:00
|
|
|
loader.efi.canTouchEfiVariables = true;
|
|
|
|
loader.systemd-boot.enable = true;
|
|
|
|
initrd.systemd.enable = true;
|
|
|
|
};
|
|
|
|
|
2023-07-06 19:32:19 +00:00
|
|
|
hardware = {bluetooth.enable = true;};
|
2023-06-28 20:48:01 +00:00
|
|
|
|
|
|
|
networking = {
|
|
|
|
hostName = "chai";
|
|
|
|
networkmanager.enable = true;
|
|
|
|
firewall.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
boot.initrd.luks.devices = {
|
|
|
|
"luks-83586073-35f8-438d-9203-99f1e966c2ca" = {
|
|
|
|
device = "/dev/disk/by-uuid/83586073-35f8-438d-9203-99f1e966c2ca";
|
|
|
|
keyFile = "/crypto_keyfile.bin";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
services = {
|
|
|
|
blueman.enable = true;
|
|
|
|
pcscd.enable = true;
|
|
|
|
openssh = {
|
|
|
|
enable = true;
|
2023-07-06 19:32:19 +00:00
|
|
|
settings = {X11Forwarding = true;};
|
2023-06-28 20:48:01 +00:00
|
|
|
};
|
2023-07-12 21:53:41 +00:00
|
|
|
globalprotect.enable = true;
|
2023-09-19 20:02:44 +00:00
|
|
|
printing = {
|
|
|
|
enable = true;
|
|
|
|
drivers = [pkgs.hplip];
|
|
|
|
};
|
2023-06-28 20:48:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
virtualisation.docker.enable = true;
|
|
|
|
|
|
|
|
users.users."${username}" = {
|
2023-07-06 19:32:19 +00:00
|
|
|
extraGroups = ["wheel" "docker"];
|
2023-06-28 20:48:01 +00:00
|
|
|
isNormalUser = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
2023-07-12 21:53:41 +00:00
|
|
|
globalprotect-openconnect
|
2023-06-28 20:48:01 +00:00
|
|
|
jetbrains.pycharm-professional
|
|
|
|
jetbrains.idea-ultimate
|
|
|
|
jetbrains.datagrip
|
2023-07-11 20:16:56 +00:00
|
|
|
libxcrypt
|
2023-08-15 20:40:39 +00:00
|
|
|
py36.python36
|
|
|
|
py36.python36Packages.virtualenv
|
|
|
|
py36.python36Packages.psycopg2
|
2023-07-10 22:03:30 +00:00
|
|
|
subversion
|
2023-07-07 16:20:01 +00:00
|
|
|
teams-for-linux
|
2023-07-05 14:46:10 +00:00
|
|
|
xorg.xauth
|
2023-07-07 16:20:01 +00:00
|
|
|
|
2023-09-05 21:23:08 +00:00
|
|
|
# Flake overlay
|
|
|
|
jolheiser.prospect-mail
|
2023-06-28 20:48:01 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
system.stateVersion = "22.11";
|
|
|
|
}
|