Home

dotnix @b74f4784492c1782b21a36597c473846b6dffcda - refs - log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
dotnix / machines / genmaicha / default.nix
- raw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{ pkgs, ... }:
let
  username = "jolheiser";
in
{
  imports = [
    ./hardware.nix
    ../common/gui
  ];

  boot = {
    kernelPackages = pkgs.linuxPackages_latest;
    kernelParams = [
      "quiet"
      "splash"
    ];
    loader = {
      systemd-boot.enable = true;
      efi.canTouchEfiVariables = true;
    };
  };

  networking = {
    hostName = "genmaicha";
    networkmanager.enable = true;
    firewall.enable = true;
  };

  services = {
    blueman.enable = true;
    openssh.enable = true;
    pcscd.enable = true;
    fwupd.enable = true;
  };

  virtualisation.docker.enable = true;

  users.users."${username}" = {
    extraGroups = [
      "wheel"
      "docker"
      "storage"
    ];
    isNormalUser = true;
  };

  system.stateVersion = "22.11";
}