mirror of https://git.jolheiser.com/dotnix.git
55 lines
1.2 KiB
Nix
55 lines
1.2 KiB
Nix
{pkgs, ...}: {
|
|
imports = [./hardware.nix ../common/gui];
|
|
|
|
boot = {
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
|
kernelParams = ["quiet" "splash"];
|
|
};
|
|
|
|
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";
|
|
|
|
hardware = {bluetooth.enable = true;};
|
|
|
|
networking = {
|
|
hostName = "sencha";
|
|
networkmanager.enable = true;
|
|
firewall.enable = true;
|
|
};
|
|
|
|
services = {
|
|
blueman.enable = true;
|
|
openssh.enable = true;
|
|
pcscd.enable = true;
|
|
printing = {
|
|
enable = true;
|
|
drivers = [pkgs.canon-cups-ufr2 pkgs.cnijfilter_4_00];
|
|
};
|
|
jellyfin.enable = true;
|
|
};
|
|
|
|
virtualisation.docker.enable = true;
|
|
|
|
users.users.olheiser.isNormalUser = true;
|
|
users.users.jolheiser = {
|
|
extraGroups = ["wheel" "docker" "storage"];
|
|
isNormalUser = true;
|
|
};
|
|
users.groups.media.members = ["jolheiser" "olheiser" "jellyfin"];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
firefox
|
|
gimp
|
|
protonvpn-gui
|
|
qbittorrent
|
|
];
|
|
|
|
nixpkgs.config.permittedInsecurePackages = [
|
|
"electron-25.9.0"
|
|
];
|
|
|
|
system.stateVersion = "22.11";
|
|
}
|