tidied flake.nix
This commit is contained in:
parent
da0da1a6de
commit
882167204f
1 changed files with 49 additions and 33 deletions
54
flake.nix
54
flake.nix
|
|
@ -1,36 +1,38 @@
|
||||||
## SerenityOS
|
## SerenityOS
|
||||||
|
##
|
||||||
## - A study in linux, packaging, user experience,
|
## - A study in linux, packaging, user experience,
|
||||||
## system and desktop environments, themeing,
|
## system and desktop environments, themeing,
|
||||||
## system administration, and functional programming.
|
## system administration, and functional programming.
|
||||||
|
##
|
||||||
## - We do not expect this to become a full-fledged linux
|
## - We do not expect this to become a full-fledged linux
|
||||||
## distribution. Or be adopted by anymany but ourselves,
|
## distribution. Or be adopted by anymany but ourselves,
|
||||||
## but NixOS and its 'flakes' architecture allows for us
|
## but NixOS and its 'flakes' architecture allows for us
|
||||||
## to experiment and learn about the required subjects
|
## to experiment and learn about the required subjects
|
||||||
## in a mock environment of sorts.
|
## in a mock environment of sorts.
|
||||||
|
##
|
||||||
## - Basically, we are playing linux distro simulator. /pos
|
## - Basically, we are playing linux distro simulator. /pos
|
||||||
|
##
|
||||||
|
|
||||||
## - Oh also, code-commenting is done like this:
|
## - Oh also, code-commenting is done like this:
|
||||||
## Place a hash directly before the code
|
## Place a hash directly before the code
|
||||||
## then indent the code by 1 extra space.
|
## then indent the code by 1 extra space.
|
||||||
|
##
|
||||||
## - A hash AFTER but on the same line
|
## - A hash AFTER but on the same line
|
||||||
## as the code lets you add any thoughts.
|
## as the code lets you add any thoughts.
|
||||||
|
##
|
||||||
|
## - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
## example.nix = {
|
## example.nix = {
|
||||||
## #option1 = true;
|
## option1 = true;
|
||||||
## #option2 = true; # disabled for x reason
|
## #option2 = [ "$string" ];
|
||||||
## option3 = false;
|
## #option3 = false; # disabled for x reason
|
||||||
|
## option4 = false;
|
||||||
## };
|
## };
|
||||||
|
## - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
##
|
||||||
|
|
||||||
{
|
{
|
||||||
description = "SerenityOS v0.6.46";
|
description = "SerenityOS v0.6.50";
|
||||||
## Latest features:
|
## Latest features:
|
||||||
## - A more defined roadmap for future flake development is now in place.
|
## - ZFS Support fully implemented.
|
||||||
## - Work on ZFS support continues, expect complete functionality soon.
|
|
||||||
## - Work on commenting, reformating, and refactoring flake clode is progressing steadily.
|
## - Work on commenting, reformating, and refactoring flake clode is progressing steadily.
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|
@ -52,7 +54,7 @@
|
||||||
sops-nix = {
|
sops-nix = {
|
||||||
url = "github:Mic92/sops-nix";
|
url = "github:Mic92/sops-nix";
|
||||||
## optional, not necessary for the module
|
## optional, not necessary for the module
|
||||||
#inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
## Dots management
|
## Dots management
|
||||||
|
|
@ -61,21 +63,22 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
## Themeing
|
## Graphical config editor? seeing what's up w/ it - removed ForNow:tm:
|
||||||
|
#nixos-conf-editor.url = "github:snowfallorg/nixos-conf-editor";
|
||||||
|
|
||||||
|
## Easy themeing <3
|
||||||
nix-colors.url = "github:misterio77/nix-colors";
|
nix-colors.url = "github:misterio77/nix-colors";
|
||||||
|
|
||||||
## Ricer friendly wayland compositor
|
## Wayland compositor with eye-candy (for edgelords)
|
||||||
hyprland.url = "github:hyprwm/Hyprland";
|
hyprland.url = "github:hyprwm/Hyprland";
|
||||||
hyprland-plugins = {
|
hyprland-plugins = {
|
||||||
url = "github:hyprwm/hyprland-plugins";
|
url = "github:hyprwm/hyprland-plugins";
|
||||||
inputs.hyprland.follows = "hyprland";
|
inputs.hyprland.follows = "hyprland";
|
||||||
};
|
};
|
||||||
|
|
||||||
## Fix broken waybar on current nixpkgs-unstable
|
## Fix broken waybar on current nixpkgs-unstable
|
||||||
#waybar.url = "github:Alexays/Waybar";
|
#waybar.url = "github:Alexays/Waybar";
|
||||||
|
|
||||||
## Graphical config editor? seeing what's up w/ it
|
|
||||||
nixos-conf-editor.url = "github:snowfallorg/nixos-conf-editor";
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
|
|
@ -96,6 +99,7 @@
|
||||||
## Available through 'nixos-rebuild --flake .#your-hostname'
|
## Available through 'nixos-rebuild --flake .#your-hostname'
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
|
|
||||||
|
## Installer for easy nuke-n-paves
|
||||||
#iso = nixpkgs.lib.nixosSystem {
|
#iso = nixpkgs.lib.nixosSystem {
|
||||||
#specialArgs = {inherit inputs outputs;};
|
#specialArgs = {inherit inputs outputs;};
|
||||||
#modules = [
|
#modules = [
|
||||||
|
|
@ -107,6 +111,7 @@
|
||||||
#];
|
#];
|
||||||
#};
|
#};
|
||||||
|
|
||||||
|
## Laptop
|
||||||
persephone = nixpkgs.lib.nixosSystem {
|
persephone = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = {inherit inputs outputs;};
|
specialArgs = {inherit inputs outputs;};
|
||||||
modules = [
|
modules = [
|
||||||
|
|
@ -116,6 +121,7 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
## Desktop
|
||||||
hades = nixpkgs.lib.nixosSystem {
|
hades = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = {inherit inputs outputs;};
|
specialArgs = {inherit inputs outputs;};
|
||||||
modules = [
|
modules = [
|
||||||
|
|
@ -125,6 +131,16 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
## Home server
|
||||||
|
orcus = nixpkgs.lib.nixosSystem {
|
||||||
|
specialArgs = {inherit inputs outputs;};
|
||||||
|
modules = [
|
||||||
|
disko.nixosModules.disko
|
||||||
|
sops-nix.nixosModules.sops
|
||||||
|
./core/hosts/orcus
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue