Mara's laptop
This commit is contained in:
parent
26187a521b
commit
9191b17bff
7 changed files with 205 additions and 3 deletions
48
hosts/spock/default.nix
Normal file
48
hosts/spock/default.nix
Normal file
|
@ -0,0 +1,48 @@
|
|||
{
|
||||
lib,
|
||||
modulesPath,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
"${modulesPath}/installer/sd-card/sd-image-aarch64.nix"
|
||||
];
|
||||
|
||||
sdImage.compressImage = false;
|
||||
|
||||
nixpkgs = {
|
||||
# hostPlatform = lib.mkDefault "armv6-linux";
|
||||
# config = {
|
||||
# allowUnfree = true;
|
||||
# };
|
||||
# overlays = [
|
||||
# # Workaround: https://github.com/NixOS/nixpkgs/issues/154163
|
||||
# # modprobe: FATAL: Module sun4i-drm not found in directory
|
||||
# (final: super: {
|
||||
# makeModulesClosure = x:
|
||||
# super.makeModulesClosure (x // {allowMissing = true;});
|
||||
# })
|
||||
# ];
|
||||
};
|
||||
|
||||
fileSystems = {
|
||||
"/" = {
|
||||
device = "/dev/disk/by-label/NIXOS_SD";
|
||||
fsType = "ext4";
|
||||
options = [ "noatime" ];
|
||||
};
|
||||
};
|
||||
|
||||
networking = {
|
||||
networkmanager.enable = false;
|
||||
};
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Rome";
|
||||
|
||||
# Allow the user to log in as root without a password.
|
||||
users.users.root.initialHashedPassword = "";
|
||||
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
system.stateVersion = "24.11";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue