change laptop partitions
This commit is contained in:
parent
dfcf044852
commit
a1ff021b10
1 changed files with 6 additions and 5 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
{
|
{
|
||||||
disko.devices = {
|
disko.devices = {
|
||||||
disk.disk1 = {
|
disk.main = {
|
||||||
device = lib.mkDefault "/dev/nvme0n1";
|
device = lib.mkDefault "/dev/nvme0n1";
|
||||||
type = "disk";
|
type = "disk";
|
||||||
content = {
|
content = {
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
};
|
};
|
||||||
esp = {
|
esp = {
|
||||||
name = "ESP";
|
name = "ESP";
|
||||||
size = "500M";
|
size = "1G";
|
||||||
type = "EF00";
|
type = "EF00";
|
||||||
content = {
|
content = {
|
||||||
type = "filesystem";
|
type = "filesystem";
|
||||||
|
|
@ -26,11 +26,12 @@
|
||||||
root = {
|
root = {
|
||||||
size = "100%";
|
size = "100%";
|
||||||
content = {
|
content = {
|
||||||
type = "filesystem";
|
type = "btrfs";
|
||||||
format = "ext4";
|
extraArgs = [ "-f" ];
|
||||||
mountpoint = "/";
|
mountpoint = "/";
|
||||||
mountOptions = [
|
mountOptions = [
|
||||||
"defaults"
|
"compress=zstd"
|
||||||
|
"noatime" # ignore access times
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue