blob: f8c9dfe378b65432471763a0850cdbed3831ff2f (
plain) (
blame)
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
|
{ config, pkgs, ... }: let
user = config.global.userdata.name;
in {
imports = [
../common/configuration.nix
./hardware-configuration.nix
./modules/wayland.nix
./modules/sshfs.nix
./modules/wireguard.nix
./modules/network.nix
./modules/tlp.nix
./modules/getty.nix
];
boot = {
consoleLogLevel = 3;
kernelPackages = pkgs.linuxPackages_latest;
};
sound = {
enable = true;
extraConfig = ''
defaults.pcm.card 1
defaults.ctl.card 1
'';
};
services.pipewire = {
enable = true;
pulse.enable = true;
};
programs.adb.enable = true;
users.users.${user} = {
extraGroups = [ "adbusers" ];
packages = with pkgs; [
ffmpeg
(pass.withExtensions (exts: [ exts.pass-otp ]))
];
};
}
|