This commit is contained in:
smayzy
2025-08-24 22:27:49 +02:00
parent 771a2b88a7
commit 0ce0d549ba
8 changed files with 76 additions and 28 deletions
+7 -2
View File
@@ -9,7 +9,12 @@
networking.hostName = "desktop1";
networking.bridges.br0.interfaces = [ ];
networking.interfaces.br0.ipv4.addresses = [ { address = "10.0.0.1"; prefixLength = 24; } ];
networking.interfaces.br0.ipv4.addresses = [
{
address = "10.0.0.1";
prefixLength = 24;
}
];
smayzy = {
desktop.enable = true;
@@ -29,7 +34,7 @@
};
backupFileExtension = "backup";
};
programs.adb.enable = true;
system.stateVersion = "24.11";
+31 -14
View File
@@ -1,28 +1,45 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
config,
lib,
pkgs,
modulesPath,
...
}:
{
imports =
[ (modulesPath + "/profiles/qemu-guest.nix")
];
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
boot.initrd.availableKernelModules = [ "uhci_hcd" "ehci_pci" "ahci" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
boot.initrd.availableKernelModules = [
"uhci_hcd"
"ehci_pci"
"ahci"
"virtio_pci"
"virtio_scsi"
"sd_mod"
"sr_mod"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/72df93fc-6794-42d1-b611-8660b32a9cfa";
fsType = "ext4";
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/72df93fc-6794-42d1-b611-8660b32a9cfa";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/F5B8-A39C";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/F5B8-A39C";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
};
swapDevices = [ ];