mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
disko integration
This commit is contained in:
parent
44f439ff74
commit
d4a8d706fb
6 changed files with 102 additions and 30 deletions
|
|
@ -5,5 +5,6 @@
|
|||
../../../user/config
|
||||
./hardware.nix
|
||||
./system.nix
|
||||
./modules/disko
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -52,23 +52,6 @@ with lib;
|
|||
cudaPackages.cudnn
|
||||
];
|
||||
|
||||
fileSystems = {
|
||||
"/" = {
|
||||
device = "/dev/disk/by-uuid/495f5e7b-d9e4-4663-88c5-7021e7292535";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
"/home" = {
|
||||
device = "/dev/disk/by-uuid/cd0e5c29-716d-47f2-92f4-46ee9fca5af3";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
"/boot" = {
|
||||
device = "/dev/disk/by-uuid/C061-EE77";
|
||||
fsType = "vfat";
|
||||
};
|
||||
};
|
||||
|
||||
hardware = {
|
||||
cpu = {
|
||||
intel = {
|
||||
|
|
|
|||
|
|
@ -1,10 +1,9 @@
|
|||
{ disk }:
|
||||
{
|
||||
disko.devices = {
|
||||
disk = {
|
||||
one = {
|
||||
main = {
|
||||
type = "disk";
|
||||
device = disk;
|
||||
device = "/dev/disk/by-id/ata-CT2000MX500SSD1_2137E5D2D47D";
|
||||
content = {
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue