Advertisement
sidneystreith1985

config.nix

Mar 4th, 2025
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. { config, lib, pkgs, ... }:
  2.  
  3. {
  4. imports = [ ./hardware-configuration.nix ];
  5.  
  6. boot.loader.grub.enable = true;
  7. boot.loader.grub.device = "nodev";
  8. boot.loader.grub.efiSupport = true;
  9. boot.loader.grub.efiInstallAsRemovable = true;
  10. boot.loader.efi.efiSysMountPoint = "/boot";
  11. boot.loader.efi.canTouchEfiVariables = false;
  12.  
  13. networking.hostName = "summercamp";
  14. networking.networkmanager.enable = true;
  15.  
  16. time.timeZone = "Europe/Berlin";
  17.  
  18. i18n.defaultLocale = "de_DE.UTF-8";
  19.  
  20. i18n.extraLocaleSettings = {
  21. LC_ADDRESS = "de_DE.UTF-8";
  22. LC_IDENTIFICATION = "de_DE.UTF-8";
  23. LC_MEASUREMENT = "de_DE.UTF-8";
  24. LC_MONETARY = "de_DE.UTF-8";
  25. LC_NAME = "de_DE.UTF-8";
  26. LC_NUMERIC = "de_DE.UTF-8";
  27. LC_PAPER = "de_DE.UTF-8";
  28. LC_TELEPHONE = "de_DE.UTF-8";
  29. LC_TIME = "de_DE.UTF-8";
  30. };
  31.  
  32. console.keyMap = "de-latin1-nodeadkeys";
  33.  
  34. users.users = {
  35. sidney = {
  36. initialPassword = "s1";
  37. isNormalUser = true;
  38. description = "Sidney Streith";
  39. extraGroups = [ "networkmanager" "wheel" ];
  40. };
  41. };
  42.  
  43. environment.systemPackages = with pkgs; [ git ];
  44.  
  45. nix.settings.experimental-features = [ "nix-command" "flakes" ];
  46.  
  47. nixpkgs.config.allowUnfree = true;
  48.  
  49. system.stateVersion = "24.11";
  50.  
  51. }
  52.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement