mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-06-07 21:39:23 +02:00
Clean up
This commit is contained in:
parent
673524b947
commit
9ad1975f72
33 changed files with 358 additions and 471 deletions
|
@ -1,26 +1,39 @@
|
|||
{ ... }:
|
||||
{ modulesPath, lib, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||
|
||||
boot = {
|
||||
initrd = { availableKernelModules = [ "xhci_pci" ]; };
|
||||
loader = { generic-extlinux-compatible.enable = true; };
|
||||
};
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
hardware.raspberry-pi."4".fkms-3d.enable = true;
|
||||
|
||||
jopejoe1 = {
|
||||
audio = {
|
||||
enable = true;
|
||||
};
|
||||
audio.enable = true;
|
||||
bluetooth.enable = true;
|
||||
local.enable = true;
|
||||
nix.enable = true;
|
||||
root.enable = true;
|
||||
};
|
||||
|
||||
boot.loader = {
|
||||
grub.enable = false;
|
||||
generic-extlinux-compatible.enable = true;
|
||||
networking = {
|
||||
hostName = "inugami";
|
||||
useDHCP = lib.mkDefault true;
|
||||
};
|
||||
|
||||
networking.hostName = "inugami";
|
||||
nixpkgs.hostPlatform = {
|
||||
system = "aarch64-linux";
|
||||
config = "aarch64-unknown-linux-gnu";
|
||||
};
|
||||
|
||||
powerManagement.cpuFreqGovernor = "ondemand";
|
||||
|
||||
programs = {
|
||||
git = {
|
||||
|
@ -28,6 +41,4 @@
|
|||
lfs.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
hardware.raspberry-pi."4".fkms-3d.enable = true;
|
||||
}
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
{ modulesPath, lib, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot = {
|
||||
initrd = {
|
||||
availableKernelModules = [ "xhci_pci"];
|
||||
};
|
||||
};
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
nixpkgs.hostPlatform = "aarch64-linux";
|
||||
powerManagement.cpuFreqGovernor = "ondemand";
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue