diff options
author | sinanmohd <sinan@sinanmohd.com> | 2023-09-02 22:05:18 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2023-09-03 00:42:50 +0530 |
commit | c636397e6062b4d9471a4b5f4e9cf7d34a257131 (patch) | |
tree | 71329d182a7652301e92b19deec3ca40a7ac913f /hosts/cez/configuration.nix | |
parent | 49b8ea0f6813fe197f81a532199b18e0ded424d7 (diff) |
flake: init
Diffstat (limited to 'hosts/cez/configuration.nix')
-rw-r--r-- | hosts/cez/configuration.nix | 40 |
1 files changed, 40 insertions, 0 deletions
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; + }; + }; +} |