2024-02-27 02:54:02 +01:00
|
|
|
{ pkgs, ... }:
|
2023-11-06 23:43:36 +01:00
|
|
|
|
|
|
|
{
|
2024-02-27 02:54:02 +01:00
|
|
|
imports = [ # Include the results of the hardware scan.
|
|
|
|
./hardware-configuration.nix
|
|
|
|
./../../nixos/common.nix
|
2024-03-15 14:42:02 +01:00
|
|
|
./../../nixos/builders.nix
|
2024-02-27 02:54:02 +01:00
|
|
|
];
|
2023-11-06 23:43:36 +01:00
|
|
|
|
|
|
|
# Bootloader.
|
2024-02-27 02:54:02 +01:00
|
|
|
boot.loader = {
|
|
|
|
systemd-boot.enable = true;
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
};
|
2023-11-06 23:43:36 +01:00
|
|
|
|
|
|
|
# Setup keyfile
|
2024-02-27 02:54:02 +01:00
|
|
|
boot.initrd.secrets = { "/crypto_keyfile.bin" = null; };
|
2023-11-06 23:43:36 +01:00
|
|
|
|
|
|
|
networking.hostName = "thilo-laptop"; # Define your hostname.
|
|
|
|
|
|
|
|
# Configure console keymap
|
|
|
|
console.keyMap = "de";
|
|
|
|
|
2024-02-27 02:54:02 +01:00
|
|
|
environment.gnome.excludePackages = with pkgs; [ tracker tracker-miners ];
|
2023-11-06 23:43:36 +01:00
|
|
|
|
2023-11-11 21:52:08 +01:00
|
|
|
hardware.bluetooth.enable = true;
|
|
|
|
|
2023-11-06 23:43:36 +01:00
|
|
|
services = {
|
|
|
|
xserver = {
|
|
|
|
enable = true;
|
2023-11-11 21:52:08 +01:00
|
|
|
displayManager.sddm.enable = true;
|
2024-03-01 22:48:16 +01:00
|
|
|
displayManager.defaultSession = "plasma";
|
2024-03-18 15:43:15 +01:00
|
|
|
xkb = {
|
|
|
|
variant = "";
|
|
|
|
layout = "us";
|
|
|
|
};
|
2023-11-06 23:43:36 +01:00
|
|
|
};
|
|
|
|
gnome = {
|
|
|
|
tracker-miners.enable = false;
|
|
|
|
tracker.enable = false;
|
|
|
|
};
|
2023-11-11 21:52:08 +01:00
|
|
|
blueman.enable = true;
|
2023-12-12 01:34:45 +01:00
|
|
|
fwupd.enable = true;
|
2024-03-18 19:16:57 +01:00
|
|
|
desktopManager.plasma6.enable = true;
|
2023-11-06 23:43:36 +01:00
|
|
|
};
|
|
|
|
|
2024-03-01 22:48:16 +01:00
|
|
|
programs.kdeconnect.enable = true;
|
|
|
|
|
2024-02-27 02:54:02 +01:00
|
|
|
environment.systemPackages = with pkgs; [ brlaser brgenml1lpr ];
|
2024-02-22 16:38:29 +01:00
|
|
|
|
2024-03-15 15:12:33 +01:00
|
|
|
nixpkgs.config.permittedInsecurePackages = [
|
|
|
|
"nix-2.16.2"
|
|
|
|
];
|
|
|
|
|
2023-11-06 23:43:36 +01:00
|
|
|
system.stateVersion = "23.05";
|
|
|
|
}
|