Branch: refs/heads/nixpart
Home: https://github.com/NixOS/nixpkgs
Commit: 51f85bd25166080890ab35b457b6bbe1f33d63d0
https://github.com/NixOS/nixpkgs/commit/51f85bd25166080890ab35b457b6bbe1f33d63d0
Author: aszlig <[email protected]>
Date: 2016-12-30 (Fri, 30 Dec 2016)
Changed paths:
M nixos/modules/tasks/storage.nix
Log Message:
-----------
nixos/storage: Set clear if initlabel is true
This is just the functionality of what's already documented in the
description of initlabel.
Signed-off-by: aszlig <[email protected]>
Commit: 25fd47c1672e33e94a260ccb9ebae96e5884d751
https://github.com/NixOS/nixpkgs/commit/25fd47c1672e33e94a260ccb9ebae96e5884d751
Author: aszlig <[email protected]>
Date: 2016-12-31 (Sat, 31 Dec 2016)
Changed paths:
M nixos/modules/tasks/storage.nix
Log Message:
-----------
nixos/storage: Flesh out checking of device specs
Every device specification is in the form "<type>.<name>" and so far the
type for referencing a specific device has been a plain types.str.
Now we're not only checking whether the device specification is a string
but also whether its syntax is correct and the type actually exists and
is valid for a particular option.
We now have a deviceTypes attribute set which is our main definition for
all available device specifications and it also categorizes them with
attributes like "resizable" or "orderable" which add the corresponding
options to the option set of the device specification submodule.
What's still missing are assertions on whether the actual name
references a device which actually has been defined.
Signed-off-by: aszlig <[email protected]>
Commit: cd71d31fc207a0d806f427c5f3b5101e7f1aba97
https://github.com/NixOS/nixpkgs/commit/cd71d31fc207a0d806f427c5f3b5101e7f1aba97
Author: aszlig <[email protected]>
Date: 2016-12-31 (Sat, 31 Dec 2016)
Changed paths:
M nixos/modules/config/swap.nix
M nixos/modules/tasks/filesystems.nix
M nixos/modules/tasks/storage.nix
Log Message:
-----------
nixos: Move {fileSystems,swapDevices}.storage
I initially had these options in the storage module before actually
adding them to <nixpkgs>. Now it's time to put them back into the
storage module so that we have everything that's related to the module
in one place, so that we can do even more comprehensive type checking.
Signed-off-by: aszlig <[email protected]>
Commit: 00e5ecf968b01b4f0181d8f8ab152c42fe0e48c4
https://github.com/NixOS/nixpkgs/commit/00e5ecf968b01b4f0181d8f8ab152c42fe0e48c4
Author: aszlig <[email protected]>
Date: 2016-12-31 (Sat, 31 Dec 2016)
Changed paths:
M nixos/modules/tasks/storage.nix
Log Message:
-----------
nixos/storage: Add sizes to sizeUnit descriptions
The sizes relative to the corresponding smaller units.
Signed-off-by: aszlig <[email protected]>
Commit: 0fdc325fe6aa4393a701011fe3cb58249313dcab
https://github.com/NixOS/nixpkgs/commit/0fdc325fe6aa4393a701011fe3cb58249313dcab
Author: aszlig <[email protected]>
Date: 2016-12-31 (Sat, 31 Dec 2016)
Changed paths:
M nixos/modules/tasks/storage.nix
Log Message:
-----------
nixos/storage: Validate device specification names
Whenever a device specification is cross-referenced we need to check
whether a definition for the exists. So for example if we have:
storage.mdraid.raid.devices = [ "partition.raid1" "partition.raid2" ];
We need to make sure here that storage.partition.raid1 and
storage.partition.raid2 are actually defined.
Of course we could check this within nixpart as well, but we want to
avoid such errors at run time.
Signed-off-by: aszlig <[email protected]>
Commit: 6217686df59b93868776dac35ee8560ae9864406
https://github.com/NixOS/nixpkgs/commit/6217686df59b93868776dac35ee8560ae9864406
Author: aszlig <[email protected]>
Date: 2016-12-31 (Sat, 31 Dec 2016)
Changed paths:
M nixos/modules/tasks/storage.nix
Log Message:
-----------
nixos/storage: Gracefully handle storage.btrfs
This is an exception to the container types (isContainer in
deviceTypes) in that we *only* allow fsType to be "btrfs" for btrfs
subvolumes.
If this is set to something else than "btrfs", throw an assertion error
printing the conflicting options.
Signed-off-by: aszlig <[email protected]>
Compare: https://github.com/NixOS/nixpkgs/compare/d39dd4039d27...6217686df59b_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits