dotfiles/configs/thilo-laptop/nixos.nix

60 lines
1.1 KiB
Nix
Raw Normal View History

2023-11-06 23:43:36 +01:00
{
config,
pkgs,
lib,
...
}:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
2023-11-11 21:52:08 +01:00
./../../nixos/common.nix
2023-11-06 23:43:36 +01:00
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Setup keyfile
boot.initrd.secrets = {
"/crypto_keyfile.bin" = null;
};
networking.hostName = "thilo-laptop"; # Define your hostname.
# Configure console keymap
console.keyMap = "de";
environment.gnome.excludePackages = with pkgs; [
tracker
tracker-miners
];
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;
desktopManager.plasma5.enable = true;
2023-11-13 14:08:25 +01:00
displayManager.defaultSession = "plasmawayland";
2023-11-06 23:43:36 +01:00
layout = "us";
xkbVariant = "";
};
gnome = {
tracker-miners.enable = false;
tracker.enable = false;
};
2023-11-11 21:52:08 +01:00
blueman.enable = true;
fwupd.enable = true;
2023-11-06 23:43:36 +01:00
};
2024-02-22 16:38:29 +01:00
environment.systemPackages = with pkgs; [
brlaser
brgenml1lpr
];
2023-11-06 23:43:36 +01:00
system.stateVersion = "23.05";
}