mirror of
https://github.com/nmasur/dotfiles
synced 2024-10-18 21:59:02 +00:00
Compare commits
No commits in common. "30fe7c2d1837a3a286f5965b3eb2622308616714" and "67af160088d14ad6e07c5e19df2422270053dbf6" have entirely different histories.
30fe7c2d18
...
67af160088
@ -10,7 +10,6 @@ nixpkgs.lib.nixosSystem {
|
|||||||
specialArgs = { };
|
specialArgs = { };
|
||||||
modules = [
|
modules = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./disks.nix
|
|
||||||
../../modules/common
|
../../modules/common
|
||||||
../../modules/nixos
|
../../modules/nixos
|
||||||
(removeAttrs globals [ "mail.server" ])
|
(removeAttrs globals [ "mail.server" ])
|
||||||
@ -18,6 +17,7 @@ nixpkgs.lib.nixosSystem {
|
|||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
disko.nixosModules.disko
|
disko.nixosModules.disko
|
||||||
{
|
{
|
||||||
|
disko.devices = import ./disks.nix;
|
||||||
server = true;
|
server = true;
|
||||||
gui.enable = false;
|
gui.enable = false;
|
||||||
theme = { colors = (import ../../colorscheme/gruvbox).dark; };
|
theme = { colors = (import ../../colorscheme/gruvbox).dark; };
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
{ ... }: {
|
{
|
||||||
disko.enableConfig = false;
|
|
||||||
disko.devices = {
|
|
||||||
disk = {
|
disk = {
|
||||||
boot = {
|
boot = {
|
||||||
type = "disk";
|
type = "disk";
|
||||||
@ -20,7 +18,6 @@
|
|||||||
type = "filesystem";
|
type = "filesystem";
|
||||||
format = "vfat";
|
format = "vfat";
|
||||||
mountpoint = "/boot";
|
mountpoint = "/boot";
|
||||||
extraArgs = [ "-n boot" ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
@ -34,7 +31,6 @@
|
|||||||
type = "filesystem";
|
type = "filesystem";
|
||||||
format = "ext4";
|
format = "ext4";
|
||||||
mountpoint = "/";
|
mountpoint = "/";
|
||||||
extraArgs = [ "-L nixos" ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
@ -102,14 +98,14 @@
|
|||||||
rootFsOptions = {
|
rootFsOptions = {
|
||||||
compression = "on"; # lz4 by default
|
compression = "on"; # lz4 by default
|
||||||
"com.sun:auto-snapshot" = "false";
|
"com.sun:auto-snapshot" = "false";
|
||||||
ashift = "12";
|
ashift = 12;
|
||||||
};
|
};
|
||||||
# mountpoint = "/";
|
# mountpoint = "/";
|
||||||
|
|
||||||
datasets = {
|
datasets = {
|
||||||
media = {
|
media = {
|
||||||
zfs_type = "filesystem";
|
zfs_type = "filesystem";
|
||||||
mountpoint = "/media";
|
mountpoint = "none";
|
||||||
options."com.sun:auto-snapshot" = "false";
|
options."com.sun:auto-snapshot" = "false";
|
||||||
};
|
};
|
||||||
# "media/movies" = {
|
# "media/movies" = {
|
||||||
@ -168,5 +164,4 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user