prepare for nas
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
# changed to grub following the (ZFS tutorial)[https://nixos.wiki/wiki/ZFS]
|
||||
boot.loader.grub = {
|
||||
boot.loader.grub = lib.mkDefault {
|
||||
enable = true;
|
||||
zfsSupport = true;
|
||||
efiSupport = true;
|
||||
@@ -132,5 +132,6 @@
|
||||
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
|
||||
system.stateVersion = "24.11"; # Did you read the comment?
|
||||
|
||||
nix.settings.trusted-users = [ "shatteredmint" ];
|
||||
}
|
||||
|
||||
|
||||
21
flake.lock
generated
21
flake.lock
generated
@@ -1,5 +1,25 @@
|
||||
{
|
||||
"nodes": {
|
||||
"friendlyelecCM3588": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1771227633,
|
||||
"narHash": "sha256-uUZMqpQ+Hv4CzwWSZeLpdPEth0W2+d0MlnZb073XjwY=",
|
||||
"owner": "YayaADev",
|
||||
"repo": "nixos-friendlyelec-cm3588",
|
||||
"rev": "687a43f7a8961d7929e82494cfeb55c031638192",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "YayaADev",
|
||||
"repo": "nixos-friendlyelec-cm3588",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"home-manager": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
@@ -38,6 +58,7 @@
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"friendlyelecCM3588": "friendlyelecCM3588",
|
||||
"home-manager": "home-manager",
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
|
||||
@@ -9,6 +9,10 @@
|
||||
# follow defined nixpkgs to prevent version mismatch
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
friendlyelecCM3588 = {
|
||||
url = "github:YayaADev/nixos-friendlyelec-cm3588";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = {self, nixpkgs, home-manager, ... }@inputs:
|
||||
@@ -54,8 +58,8 @@
|
||||
specialArgs = inputs;
|
||||
|
||||
modules = [
|
||||
./devices/nas.nix
|
||||
|
||||
inputs.friendlyelecCM3588.nixosModules.cm3588 # board + kernel support
|
||||
|
||||
./configuration.nix
|
||||
|
||||
./users/shatteredmint.nix
|
||||
|
||||
Reference in New Issue
Block a user