From c636397e6062b4d9471a4b5f4e9cf7d34a257131 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sat, 2 Sep 2023 22:05:18 +0530 Subject: flake: init --- hosts/cez/configuration.nix | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 hosts/cez/configuration.nix (limited to 'hosts/cez/configuration.nix') diff --git a/hosts/cez/configuration.nix b/hosts/cez/configuration.nix new file mode 100644 index 0000000..ac2d2ea --- /dev/null +++ b/hosts/cez/configuration.nix @@ -0,0 +1,40 @@ +{ config, pkgs, ... }: + +let + user = config.userdata.user; +in +{ + imports = [ + ./hardware-configuration.nix + ../../modules/wayland.nix + ../../modules/sshfs.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; + }; + }; +} -- cgit v1.2.3