tweaking
This commit is contained in:
parent
fd6996bdc4
commit
a36b10e86e
2 changed files with 36 additions and 8 deletions
|
|
@ -113,6 +113,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, disko, sops-nix, musnix, nixos-generators,
|
outputs = { self, nixpkgs, disko, sops-nix, musnix, nixos-generators,
|
||||||
|
## Disabled outputs - part of 'flakeification': enable and use correctly.
|
||||||
#lix, lix-module, flake-utils, flake-parts,
|
#lix, lix-module, flake-utils, flake-parts,
|
||||||
#nix-colors, home-manager, nixvim,
|
#nix-colors, home-manager, nixvim,
|
||||||
... }
|
... }
|
||||||
|
|
@ -122,7 +123,10 @@
|
||||||
|
|
||||||
inherit (self) outputs;
|
inherit (self) outputs;
|
||||||
|
|
||||||
username = "serenity";
|
primaryUser = "serenity"; # used for admin purposes
|
||||||
|
#flakePath = "/home/${primaryUser}/SerenityOS/"; # for v1.0.0 release
|
||||||
|
flakePath = "/home/${primaryUser}/flakes/nixdots/"; # current path
|
||||||
|
disksPath = "/home/${primaryUser}/Disks/";
|
||||||
|
|
||||||
in {
|
in {
|
||||||
|
|
||||||
|
|
@ -143,7 +147,7 @@
|
||||||
hades = nixpkgs.lib.nixosSystem {
|
hades = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs outputs;
|
inherit inputs outputs;
|
||||||
inherit username;
|
inherit primaryUser flakePath disksPath;
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
musnix.nixosModules.musnix
|
musnix.nixosModules.musnix
|
||||||
|
|
|
||||||
|
|
@ -6,22 +6,46 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
## need option for `zfs set mountpoint=/myspecialfolder mypool`
|
# need option for `zfs set mountpoint=/myspecialfolder mypool`
|
||||||
|
|
||||||
|
home = {
|
||||||
|
|
||||||
|
## Directories to copy to /home/${username/}
|
||||||
|
file = {
|
||||||
|
|
||||||
|
## Path to automount disks to
|
||||||
|
"Disks" = {
|
||||||
|
source = ../automount/Disks;
|
||||||
|
recursive = true;
|
||||||
|
};
|
||||||
|
## (current) Flake path
|
||||||
|
"flakes/nixdots" = {
|
||||||
|
source = ../../../../nixdots;
|
||||||
|
recursive = true;
|
||||||
|
};
|
||||||
|
## (future) Flake path
|
||||||
|
"SerenityOS" = {
|
||||||
|
source = ../../../../nixdots;
|
||||||
|
recursive = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
home.file."Disks" = {
|
|
||||||
source = ../automount/Disks;
|
|
||||||
recursive = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
## Related services
|
||||||
services = {
|
services = {
|
||||||
|
|
||||||
|
## Udiskie
|
||||||
udiskie = {
|
udiskie = {
|
||||||
enable = true;
|
enable = true;
|
||||||
automount = true;
|
automount = true; # automounts new disks
|
||||||
tray = "always";
|
tray = "always";
|
||||||
notify = true;
|
notify = true; # enables the tray applet
|
||||||
#settings = {
|
#settings = {
|
||||||
#};
|
#};
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue