mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-02-25 21:52:33 -05:00
repo restructure
This commit is contained in:
parent
1c9fd8d611
commit
62bec7e920
13 changed files with 218 additions and 193 deletions
9
modules/hardware/audio.nix
Normal file
9
modules/hardware/audio.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
hardware.pulseaudio.support32Bit = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
}
|
||||
8
modules/hardware/boot.nix
Normal file
8
modules/hardware/boot.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
boot.loader = {
|
||||
systemd-boot.enable = true;
|
||||
efi = {
|
||||
canTouchEfiVariables = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
11
modules/hardware/default.nix
Normal file
11
modules/hardware/default.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./network.nix
|
||||
./audio.nix
|
||||
./boot.nix
|
||||
];
|
||||
}
|
||||
3
modules/hardware/network.nix
Normal file
3
modules/hardware/network.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
networking.networkmanager.enable = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue