2024-08-01 18:27:47 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./hardware.nix
|
|
|
|
../common/gui
|
|
|
|
];
|
2024-01-30 00:37:39 +00:00
|
|
|
|
|
|
|
boot = {
|
|
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
2024-08-01 18:27:47 +00:00
|
|
|
kernelParams = [
|
|
|
|
"quiet"
|
|
|
|
"splash"
|
|
|
|
];
|
2024-01-30 00:37:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
|
|
|
boot.initrd.luks.devices."luks-c1c666de-2c68-4d50-98f1-3974ef424ff3".device = "/dev/disk/by-uuid/c1c666de-2c68-4d50-98f1-3974ef424ff3";
|
2024-01-30 02:07:31 +00:00
|
|
|
|
2024-08-01 18:27:47 +00:00
|
|
|
hardware = {
|
|
|
|
bluetooth.enable = true;
|
|
|
|
};
|
2024-01-30 00:37:39 +00:00
|
|
|
|
|
|
|
networking = {
|
|
|
|
hostName = "sencha";
|
|
|
|
networkmanager.enable = true;
|
2024-02-04 05:53:10 +00:00
|
|
|
firewall = {
|
|
|
|
enable = true;
|
2024-08-01 18:27:47 +00:00
|
|
|
allowedTCPPorts = [ 8096 ];
|
2024-02-04 05:53:10 +00:00
|
|
|
};
|
2024-01-30 00:37:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
services = {
|
|
|
|
blueman.enable = true;
|
|
|
|
openssh.enable = true;
|
|
|
|
pcscd.enable = true;
|
2024-01-30 02:07:31 +00:00
|
|
|
printing = {
|
|
|
|
enable = true;
|
2024-08-01 18:27:47 +00:00
|
|
|
drivers = [
|
|
|
|
pkgs.canon-cups-ufr2
|
|
|
|
pkgs.cnijfilter_4_00
|
|
|
|
];
|
2024-01-30 02:07:31 +00:00
|
|
|
};
|
2024-02-03 23:28:57 +00:00
|
|
|
jellyfin.enable = true;
|
2024-02-04 04:13:09 +00:00
|
|
|
mullvad-vpn = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.mullvad-vpn;
|
|
|
|
};
|
|
|
|
resolved.enable = true;
|
2024-01-30 00:37:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
virtualisation.docker.enable = true;
|
|
|
|
|
2024-07-16 14:08:16 +00:00
|
|
|
users = {
|
|
|
|
users = {
|
|
|
|
olheiser.isNormalUser = true;
|
|
|
|
jolheiser = {
|
2024-08-01 18:27:47 +00:00
|
|
|
extraGroups = [
|
|
|
|
"wheel"
|
|
|
|
"docker"
|
|
|
|
"storage"
|
|
|
|
];
|
2024-07-16 14:08:16 +00:00
|
|
|
isNormalUser = true;
|
|
|
|
};
|
|
|
|
};
|
2024-08-01 18:27:47 +00:00
|
|
|
groups.media.members = [
|
|
|
|
"jolheiser"
|
|
|
|
"olheiser"
|
|
|
|
"jellyfin"
|
|
|
|
];
|
2024-01-30 00:37:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
firefox
|
2024-01-30 02:10:12 +00:00
|
|
|
gimp
|
2024-02-03 23:28:57 +00:00
|
|
|
qbittorrent
|
|
|
|
];
|
|
|
|
|
2024-01-30 00:37:39 +00:00
|
|
|
system.stateVersion = "22.11";
|
|
|
|
}
|