cleanup and format

This commit is contained in:
Thilo Billerbeck 2024-02-27 02:54:02 +01:00
commit 07a1841fda
37 changed files with 336 additions and 427 deletions
configs/thilo-laptop

View file

@ -1,35 +1,26 @@
{
config,
pkgs,
lib,
...
}:
{ pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
./../../nixos/common.nix
];
imports = [ # Include the results of the hardware scan.
./hardware-configuration.nix
./../../nixos/common.nix
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
# Setup keyfile
boot.initrd.secrets = {
"/crypto_keyfile.bin" = null;
};
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
];
environment.gnome.excludePackages = with pkgs; [ tracker tracker-miners ];
hardware.bluetooth.enable = true;
@ -50,10 +41,7 @@
fwupd.enable = true;
};
environment.systemPackages = with pkgs; [
brlaser
brgenml1lpr
];
environment.systemPackages = with pkgs; [ brlaser brgenml1lpr ];
system.stateVersion = "23.05";
}