summaryrefslogblamecommitdiff
path: root/hosts/cez/configuration.nix
blob: 05e7dd653700a754dc50573a5d2b5917f913f8fe (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                      
 


                              
 
             
                                

                         
                           


                    


                                        
                                               
    


                    

                         

       












                               
    
 
{ config, pkgs, ... }:

let
  user = config.userdata.user;
in
{
  imports = [
    ./hardware-configuration.nix
    ./modules/wayland.nix
    ./modules/sshfs.nix
    ./modules/wireguard.nix
    ../../common.nix
  ];

  boot = {
    initrd.luks.reusePassphrases = true;
    consoleLogLevel = 3;
    kernelPackages = pkgs.linuxPackages_latest;
  };
  sound = {
    enable = true;
    extraConfig = ''
      defaults.pcm.card 1
      defaults.ctl.card 1
    '';
  };

  networking = {
    hostName = "cez";
    dhcpcd.wait = "background";
    wireless.iwd.enable = true;
  };

  services = {
    getty.autologinUser = user;
    pipewire = {
      enable = true;
      pulse.enable = true;
    };
  };
}