Documentation and cleaning flake.nix
This commit is contained in:
parent
05c373d130
commit
ad7a31e513
55
flake.nix
55
flake.nix
|
@ -19,6 +19,10 @@
|
|||
|
||||
outputs = inputs@{ nixpkgs, home-manager, devenv, hyprland, hyprcontrib, codeium, ... }: {
|
||||
nixosConfigurations = {
|
||||
######################################################################################
|
||||
# ritchie (Work laptop)
|
||||
# Named after Dennis Ritchie, co-creator of UNIX and C
|
||||
######################################################################################
|
||||
ritchie = nixpkgs.lib.nixosSystem { # My work machine
|
||||
system = "x86_64-linux";
|
||||
|
||||
|
@ -49,6 +53,11 @@
|
|||
}
|
||||
];
|
||||
};
|
||||
|
||||
######################################################################################
|
||||
# thompson (Personl laptop)
|
||||
# Named after Ken Thompson, co-creator of UNIX and C
|
||||
######################################################################################
|
||||
thompson = nixpkgs.lib.nixosSystem { # My personal laptop
|
||||
system = "x86_64-linux";
|
||||
|
||||
|
@ -58,7 +67,15 @@
|
|||
./system/thompson/thompson.nix
|
||||
|
||||
hyprland.nixosModules.default
|
||||
{ programs.hyprland.enable = true; }
|
||||
{
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
enableNvidiaPatches = true;
|
||||
xwayland = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager = {
|
||||
|
@ -70,16 +87,10 @@
|
|||
];
|
||||
};
|
||||
|
||||
miyamoto = nixpkgs.lib.nixosSystem { # Kid's game and music box
|
||||
system = "x86_64-linux";
|
||||
|
||||
specialArgs.inputs = inputs;
|
||||
|
||||
modules = [
|
||||
./system/miyamoto/miyamoto.nix
|
||||
];
|
||||
};
|
||||
|
||||
######################################################################################
|
||||
# kernighan (VPS hosted with Hetzner)
|
||||
# Named after Brian Kernighan, key UNIX figure and author
|
||||
######################################################################################
|
||||
kernighan = nixpkgs.lib.nixosSystem { # Pi home server
|
||||
system = "aarch64-linux";
|
||||
|
||||
|
@ -90,15 +101,31 @@
|
|||
];
|
||||
};
|
||||
|
||||
eno = nixpkgs.lib.nixosSystem { # Music player/alarm clock
|
||||
system = "aarch64-linux";
|
||||
######################################################################################
|
||||
# miyamoto (Butchered laptop—music and games for the kids
|
||||
# Named after Shigery Miyamoto, creator of Donkey Kong, Mario and X
|
||||
######################################################################################
|
||||
miyamoto = nixpkgs.lib.nixosSystem { # Kid's game and music box
|
||||
system = "x86_64-linux";
|
||||
|
||||
specialArgs.inputs = inputs;
|
||||
|
||||
modules = [
|
||||
./system/eno/eno.nix
|
||||
./system/miyamoto/miyamoto.nix
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
######################################################################################
|
||||
# Other, non-Nix systems (for completeness/documentation):
|
||||
# mcilroy (printer)
|
||||
# Named after Doug McIlroy, who proposed UNIX pipes, developed a bunch of UNIX stuff
|
||||
# and wrote one iteration of roff.
|
||||
# Home Assistant on a Raspberry Pi 4
|
||||
# Todo:
|
||||
# Internet Radio
|
||||
# Kids laptop
|
||||
######################################################################################
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue