dotfiles/configs/thilo-laptop/nixos.nix

49 lines
1.1 KiB
Nix

{ pkgs, ... }:
{
imports = [ # Include the results of the hardware scan.
./hardware-configuration.nix
./../../nixos/common.nix
];
# Bootloader.
boot.loader = {
systemd-boot.enable = true;
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 ];
hardware.bluetooth.enable = true;
services = {
xserver = {
enable = true;
displayManager.sddm.enable = true;
displayManager.defaultSession = "plasma";
desktopManager.plasma6.enable = true;
layout = "us";
xkbVariant = "";
};
gnome = {
tracker-miners.enable = false;
tracker.enable = false;
};
blueman.enable = true;
fwupd.enable = true;
};
programs.kdeconnect.enable = true;
environment.systemPackages = with pkgs; [ brlaser brgenml1lpr ];
system.stateVersion = "23.05";
}