A new start
This commit is contained in:
commit
72271e8cae
78 changed files with 2472 additions and 0 deletions
51
hosts/pbp/configuration.nix
Normal file
51
hosts/pbp/configuration.nix
Normal file
|
@ -0,0 +1,51 @@
|
|||
{ config, lib, pkgs, profiles, pbpKernelLatest, ... }:
|
||||
|
||||
{
|
||||
imports = with profiles; [ mount-nas sshd dbus ];
|
||||
|
||||
boot = {
|
||||
initrd.availableKernelModules = [ "usbhid" ];
|
||||
kernelPackages = pbpKernelLatest;
|
||||
kernelModules = [ ];
|
||||
extraModulePackages = with config.boot.kernelPackages; [
|
||||
v4l2loopback
|
||||
];
|
||||
loader = {
|
||||
grub.enable = false;
|
||||
generic-extlinux-compatible.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
hardware = {
|
||||
opengl.enable = true;
|
||||
pulseaudio = {
|
||||
enable = true;
|
||||
package = pkgs.pulseaudioFull;
|
||||
};
|
||||
};
|
||||
|
||||
networking = {
|
||||
useDHCP = false;
|
||||
interfaces.wlan0.useDHCP = true;
|
||||
networkmanager.enable = true;
|
||||
};
|
||||
|
||||
time.timeZone = "Europe/Rome";
|
||||
location.provider = "geoclue2";
|
||||
|
||||
fileSystems = {
|
||||
"/" = {
|
||||
device = "/dev/disk/by-uuid/5aa67d2d-93fd-4e7c-b634-aa8d7b65bbb8";
|
||||
fsType = "btrfs";
|
||||
};
|
||||
"/boot" = {
|
||||
device = "/dev/disk/by-uuid/C406-2AFC";
|
||||
fsType = "vfat";
|
||||
};
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[{ device = "/dev/disk/by-uuid/e236d328-496e-4cf8-ba54-857789ca258f"; }];
|
||||
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||
}
|
9
hosts/pbp/default.nix
Normal file
9
hosts/pbp/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ suites, ... }:
|
||||
{
|
||||
imports = [
|
||||
./configuration.nix
|
||||
] ++ suites.base;
|
||||
|
||||
bud.enable = true;
|
||||
bud.localFlakeClone = "/home/andrea/fleet";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue