Première config PC fixe
This commit is contained in:
parent
1705d33608
commit
bd4ad14df2
2 changed files with 220 additions and 0 deletions
65
systems/PC-Fixe/hardware-configuration.nix
Normal file
65
systems/PC-Fixe/hardware-configuration.nix
Normal file
|
@ -0,0 +1,65 @@
|
|||
# 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, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "firewire_ohci" "pata_marvell" "xhci_pci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/509a5842-56fe-40bd-8b00-6bda87e02e5e";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/A225-07A5";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
fileSystems."/mnt/hdd" =
|
||||
{ device = "/dev/mapper/ManjaroVG-ManjaroRoot";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/home/paul/Documents" =
|
||||
{ device = "/mnt/hdd/paul/Documents";
|
||||
options = [ "bind" ];
|
||||
};
|
||||
|
||||
fileSystems."/home/paul/Downloads" =
|
||||
{ device = "/mnt/hdd/paul/Téléchargements";
|
||||
options = [ "bind" ];
|
||||
};
|
||||
|
||||
fileSystems."/home/paul/Music" =
|
||||
{ device = "/mnt/hdd/paul/Musique";
|
||||
options = [ "bind" ];
|
||||
};
|
||||
|
||||
fileSystems."/home/paul/Pictures" =
|
||||
{ device = "/mnt/hdd/paul/Images";
|
||||
options = [ "bind" ];
|
||||
};
|
||||
|
||||
fileSystems."/home/paul/Videos" =
|
||||
{ device = "/mnt/hdd/paul/Vidéos";
|
||||
options = [ "bind" ];
|
||||
};
|
||||
|
||||
fileSystems."/mnt/steam" =
|
||||
{ device = "192.168.0.5:/exports/steam";
|
||||
fsType = "nfs";
|
||||
options = ["x-systemd.automount" "noauto"];
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
nix.maxJobs = lib.mkDefault 4;
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue