mirror of
https://gitlab.com/ahoneybun/nix-configs.git
synced 2025-05-13 03:33:00 -06:00
Compare commits
No commits in common. "f201dc75a56b1af623a85823de03c89fb452e4bc" and "3108fa3aea6e4a922bc7574a73bacad5d0f9f786" have entirely different histories.
f201dc75a5
...
3108fa3aea
3 changed files with 28 additions and 97 deletions
|
@ -71,11 +71,15 @@
|
|||
lshw
|
||||
restic
|
||||
roboto-slab
|
||||
syncthing
|
||||
nvd
|
||||
unzip
|
||||
wget
|
||||
xz
|
||||
zlib
|
||||
|
||||
# Packages from Flake Inputs
|
||||
#inputs.nix-software-center.packages.${system}.nix-software-center
|
||||
];
|
||||
|
||||
# Enable/Disable hardware
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
# Add Disko for disk management
|
||||
disko.nixosModules.disko
|
||||
./disko-config.nix
|
||||
./gnome.nix
|
||||
./configuration.nix
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
|
|
@ -1,72 +0,0 @@
|
|||
{
|
||||
disko.devices = {
|
||||
disk = {
|
||||
main = {
|
||||
type = "disk";
|
||||
device = "/dev/sda";
|
||||
content = {
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
ESP = {
|
||||
size = "1G";
|
||||
type = "EF00";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "vfat";
|
||||
mountpoint = "/boot";
|
||||
mountOptions = [ "umask=0077" ];
|
||||
};
|
||||
};
|
||||
luks = {
|
||||
size = "100%";
|
||||
content = {
|
||||
type = "luks";
|
||||
name = "crypted";
|
||||
extraOpenArgs = [ ];
|
||||
settings = {
|
||||
# if you want to use the key for interactive login be sure there is no trailing newline
|
||||
# for example use `echo -n "password" > /tmp/secret.key`
|
||||
#keyFile = "/tmp/secret.key";
|
||||
allowDiscards = true;
|
||||
};
|
||||
content = {
|
||||
type = "lvm_pv";
|
||||
vg = "pool";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
lvm_vg = {
|
||||
pool = {
|
||||
type = "lvm_vg";
|
||||
lvs = {
|
||||
root = {
|
||||
size = "100%";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "ext4";
|
||||
mountpoint = "/";
|
||||
mountOptions = [
|
||||
"defaults"
|
||||
];
|
||||
};
|
||||
};
|
||||
home = {
|
||||
size = "10M";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "ext4";
|
||||
mountpoint = "/home";
|
||||
};
|
||||
};
|
||||
raw = {
|
||||
size = "10M";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue