Cleanup
This commit is contained in:
parent
70f0c6118e
commit
e9cdacbfc8
20 changed files with 142 additions and 310 deletions
|
|
@ -4,6 +4,7 @@
|
|||
{pkgs, ...}: {
|
||||
# Configure boot
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
initrd.systemd.enable = true;
|
||||
loader = {
|
||||
efi.canTouchEfiVariables = true;
|
||||
|
|
@ -23,6 +24,7 @@
|
|||
theme = "target_2";
|
||||
themePackages = [pkgs.adi1090x-plymouth-themes];
|
||||
};
|
||||
tmp.cleanOnBoot = true;
|
||||
};
|
||||
|
||||
# This option defines the first version of NixOS you have installed on this particular machine,
|
||||
|
|
|
|||
|
|
@ -5,9 +5,6 @@
|
|||
}: let
|
||||
userName = config.constants.userName;
|
||||
in {
|
||||
# TODO: Remove this when apex 5 works out of the box: https://github.com/paroj/xpad/pull/328
|
||||
boot.kernelModules = ["xpad"];
|
||||
|
||||
hardware = {
|
||||
bluetooth.enable = true;
|
||||
graphics = {
|
||||
|
|
@ -28,7 +25,6 @@ in {
|
|||
security.rtkit.enable = true;
|
||||
|
||||
services = {
|
||||
automatic-timezoned.enable = true;
|
||||
avahi = {
|
||||
enable = true;
|
||||
nssmdns4 = true;
|
||||
|
|
@ -45,13 +41,7 @@ in {
|
|||
pulse.enable = true;
|
||||
};
|
||||
printing.enable = true;
|
||||
udev = {
|
||||
packages = [pkgs.via];
|
||||
# TODO: Remove this when apex 5 works out of the box: https://github.com/paroj/xpad/pull/328
|
||||
extraRules = ''
|
||||
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="37d7", ATTRS{idProduct}=="2501", RUN+="${pkgs.bash}/bin/bash -c 'echo 37d7 2501 > /sys/bus/usb/drivers/xpad/new_id'"
|
||||
'';
|
||||
};
|
||||
udev.packages = [pkgs.via];
|
||||
};
|
||||
|
||||
users.users.${userName}.extraGroups = ["adbusers" "cdrom" "docker"];
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
boot = {
|
||||
|
|
@ -8,6 +9,7 @@
|
|||
zfs = {
|
||||
extraPools = ["zarchive"];
|
||||
requestEncryptionCredentials = ["zactive/main"];
|
||||
package = pkgs.zfs_unstable;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue