2023-10-02 17:47:47 +00:00
|
|
|
{ config, pkgs, ... }: {
|
|
|
|
imports = [
|
|
|
|
../../common/generic.nix
|
|
|
|
../../common/generic-desktop.nix
|
2023-10-02 19:28:51 +00:00
|
|
|
../../common/generic-uefi.nix
|
2023-10-12 16:23:49 +00:00
|
|
|
../../common/tailscale.nix
|
2023-10-08 16:35:48 +00:00
|
|
|
../../common/tpm.nix
|
2023-12-18 13:40:36 +00:00
|
|
|
../../roles/kodi.nix
|
2023-10-12 19:36:26 +00:00
|
|
|
../../roles/podman.nix
|
2023-10-02 18:20:14 +00:00
|
|
|
./hardware-config.nix
|
2023-10-02 17:47:47 +00:00
|
|
|
];
|
|
|
|
|
2024-03-22 09:53:29 +00:00
|
|
|
boot.initrd.luks = {
|
|
|
|
devices.root = {
|
|
|
|
device = "/dev/disk/by-uuid/00f32b39-dfcb-4459-bf8e-aa68e2198466";
|
|
|
|
preLVM = true;
|
|
|
|
allowDiscards = true;
|
|
|
|
};
|
2023-11-12 18:58:34 +00:00
|
|
|
};
|
2023-11-12 18:53:53 +00:00
|
|
|
|
2023-10-02 17:47:47 +00:00
|
|
|
networking.hostName = "alex";
|
|
|
|
networking.firewall.enable = false;
|
|
|
|
|
|
|
|
sound.enable = true;
|
|
|
|
hardware.pulseaudio.enable = false;
|
|
|
|
security.rtkit.enable = true;
|
|
|
|
services.pipewire = {
|
|
|
|
enable = true;
|
|
|
|
alsa.enable = true;
|
|
|
|
alsa.support32Bit = true;
|
2023-11-18 18:31:00 +00:00
|
|
|
jack.enable = true;
|
2023-10-02 17:47:47 +00:00
|
|
|
pulse.enable = true;
|
|
|
|
};
|
|
|
|
|
2024-03-09 14:06:11 +00:00
|
|
|
security.pam.services = {
|
|
|
|
kde.u2fAuth = true;
|
|
|
|
sddm.u2fAuth = true;
|
2024-03-22 09:53:29 +00:00
|
|
|
doas.u2fAuth = true;
|
2024-03-09 14:06:11 +00:00
|
|
|
};
|
|
|
|
|
2024-06-28 15:09:05 +00:00
|
|
|
services = {
|
|
|
|
xserver = {
|
|
|
|
enable = true;
|
|
|
|
xkb.layout = "gb";
|
|
|
|
};
|
2024-02-23 10:24:51 +00:00
|
|
|
displayManager.sddm.enable = true;
|
2024-03-01 22:22:44 +00:00
|
|
|
desktopManager.plasma6.enable = true;
|
2023-10-02 17:47:47 +00:00
|
|
|
};
|
|
|
|
|
2024-02-23 10:24:51 +00:00
|
|
|
#environment.systemPackages = with pkgs; [
|
|
|
|
# gnomeExtensions.appindicator
|
|
|
|
# gnomeExtensions.mpris-label
|
|
|
|
# gnome.gnome-tweaks
|
|
|
|
#];
|
|
|
|
#services.udev.packages = with pkgs; [
|
|
|
|
# gnome.gnome-settings-daemon
|
|
|
|
#];
|
2023-12-04 12:16:04 +00:00
|
|
|
|
2023-10-23 13:07:07 +00:00
|
|
|
services.printing = {
|
|
|
|
enable = true;
|
|
|
|
drivers = with pkgs; [
|
|
|
|
hplip
|
|
|
|
];
|
|
|
|
};
|
2023-10-02 17:47:47 +00:00
|
|
|
|
2024-01-10 20:31:25 +00:00
|
|
|
services.gpsd = {
|
|
|
|
enable = true;
|
|
|
|
devices = [
|
|
|
|
"/dev/ttyACM0"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2023-10-02 18:30:34 +00:00
|
|
|
hardware.bluetooth.enable = true;
|
2024-04-13 15:45:38 +00:00
|
|
|
hardware.rtl-sdr.enable = true;
|
|
|
|
users.users.ash.extraGroups = ["plugdev"];
|
2023-10-02 18:30:34 +00:00
|
|
|
|
2023-10-02 17:47:47 +00:00
|
|
|
programs.steam.enable = true;
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
2024-02-23 10:24:51 +00:00
|
|
|
#programs.calls.enable = true;
|
2023-10-02 17:47:47 +00:00
|
|
|
|
2024-03-05 20:00:41 +00:00
|
|
|
virtualisation.waydroid.enable = true;
|
|
|
|
|
2023-10-02 17:47:47 +00:00
|
|
|
system.stateVersion = "22.11";
|
|
|
|
}
|