This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues/pull-requests.
2023-06-28 20:48:01 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
let username = "jolheiser";
|
|
|
|
in {
|
|
|
|
imports = [ ./hardware.nix ../common ];
|
|
|
|
|
|
|
|
boot = {
|
|
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
kernelParams = [ "quiet" "splash" ];
|
|
|
|
loader.efi.canTouchEfiVariables = true;
|
|
|
|
loader.systemd-boot.enable = true;
|
|
|
|
initrd.systemd.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
hardware = { bluetooth.enable = true; };
|
|
|
|
|
|
|
|
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;
|
|
|
|
settings = { X11Forwarding = true; };
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
virtualisation.docker.enable = true;
|
|
|
|
|
|
|
|
users.users."${username}" = {
|
|
|
|
extraGroups = [ "wheel" "docker" ];
|
|
|
|
isNormalUser = true;
|
|
|
|
shell = pkgs.nushell;
|
|
|
|
};
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
2023-07-05 14:46:10 +00:00
|
|
|
globalprotect-openconnect
|
2023-06-28 20:48:01 +00:00
|
|
|
jetbrains.pycharm-professional
|
|
|
|
jetbrains.idea-ultimate
|
|
|
|
jetbrains.datagrip
|
|
|
|
subversion
|
2023-07-05 14:46:10 +00:00
|
|
|
teams
|
|
|
|
xorg.xauth
|
2023-06-28 20:48:01 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
system.stateVersion = "22.11";
|
|
|
|
}
|