updated README.md
This commit is contained in:
parent
cf6ba8f994
commit
fd6996bdc4
2 changed files with 83 additions and 70 deletions
134
flake.nix
134
flake.nix
|
|
@ -1,63 +1,53 @@
|
|||
# # SerenityOS
|
||||
##
|
||||
## - A study in linux, packaging, user experience,
|
||||
## system and desktop environments, themeing,
|
||||
## system administration, and functional programming.
|
||||
##
|
||||
## - We do not expect this to become a full-fledged linux
|
||||
## distribution. Or be adopted by anymany but ourselves,
|
||||
## but NixOS and its 'flakes' architecture allows for us
|
||||
## to experiment and learn about the required subjects
|
||||
## in a mock environment of sorts.
|
||||
##
|
||||
## - Basically, we are playing linux distro simulator. /pos
|
||||
##
|
||||
## - Oh also, code-commenting is done like this:
|
||||
## Place a hash directly before the code
|
||||
## then indent the code by 1 extra space.
|
||||
##
|
||||
## - A hash AFTER but on the same line
|
||||
## as the code lets you add any thoughts.
|
||||
##
|
||||
## - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
## example.nix = {
|
||||
## option1 = true;
|
||||
## #option2 = [ "$string" ];
|
||||
## #option3 = false; # disabled for x reason
|
||||
## option4 = false;
|
||||
## };
|
||||
## - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
##
|
||||
|
||||
# SerenityOS
|
||||
#
|
||||
# A study in linux, packaging, user experience,
|
||||
# system and desktop environments, themeing,
|
||||
# system administration, and functional programming.
|
||||
#
|
||||
# Basically, we are playing linux distro simulator. /pos
|
||||
#
|
||||
# But seriously, we want to know things, best way to learn
|
||||
# is to jump in and experience. So that's what we shall do.
|
||||
#
|
||||
# :D
|
||||
#
|
||||
#
|
||||
# Oh also, code-commenting is done like so:
|
||||
#
|
||||
# - To mark a new SECTION of code, use two hashes (#)
|
||||
# and a space on the line BEFORE but with the same
|
||||
# indentation as the relevant code.
|
||||
#
|
||||
# - A hash BEFORE the code is the standard for
|
||||
# temporarily disabling a segment.
|
||||
#
|
||||
# - A hash one space AFTER but on the same line
|
||||
# as the code lets you add any thoughts.
|
||||
#
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# ## Section Heading
|
||||
# nixos.module = { # needed for x thing
|
||||
# option = true;
|
||||
# #otherOption = [ "$string" ]; # disabled for z reason
|
||||
# differentOption = '' # needed to make y thing work
|
||||
# text_config1 = auto
|
||||
# text_config2 = yes
|
||||
# '';
|
||||
# };
|
||||
#
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
#
|
||||
#
|
||||
{
|
||||
description = "SerenityOS v0.8.5";
|
||||
## Latest features:
|
||||
## - Big code and flake clean-up
|
||||
## - Switched to SwayFX full-time
|
||||
## - Work on commenting and reformating flake is ongoing
|
||||
|
||||
inputs = {
|
||||
|
||||
## Nixpkgs version
|
||||
## there was a way to have unstable as an overlay,
|
||||
## will set it back up, lazy rn, for now pick one
|
||||
#nixpkgs.url = "nixpkgs/nixos-24.05";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
hardware.url = "github:nixos/nixos-hardware";
|
||||
|
||||
## Declarative disk management
|
||||
disko = {
|
||||
url = "github:nix-community/disko";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
## Flake parts
|
||||
flake-utils = { url = "github:numtide/flake-utils"; };
|
||||
flake-parts = {
|
||||
url = "github:hercules-ci/flake-parts";
|
||||
#inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
## Lix, alternative nix implementation
|
||||
lix = { # lix language
|
||||
url = "git+https://git.lix.systems/lix-project/lix";
|
||||
|
|
@ -69,8 +59,28 @@
|
|||
inputs.lix.follows = "lix";
|
||||
};
|
||||
|
||||
## Musnix - https://github.com/musnix/musnix
|
||||
musnix = { url = "github:musnix/musnix"; };
|
||||
## Nixpkgs version
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
hardware.url = "github:nixos/nixos-hardware";
|
||||
|
||||
## Declarative disk management
|
||||
disko = {
|
||||
url = "github:nix-community/disko";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
## Flake parts & utils
|
||||
flake-utils = { url = "github:numtide/flake-utils"; };
|
||||
flake-parts = {
|
||||
url = "github:hercules-ci/flake-parts";
|
||||
#inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
## nixos generators
|
||||
nixos-generators = {
|
||||
url = "github:nix-community/nixos-generators";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
## Secrets management
|
||||
sops-nix = {
|
||||
|
|
@ -79,7 +89,10 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
## Dots management
|
||||
## Musnix - https://github.com/musnix/musnix
|
||||
musnix = { url = "github:musnix/musnix"; };
|
||||
|
||||
## Dotfiles management
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
@ -97,15 +110,12 @@
|
|||
## Easy themeing <3
|
||||
nix-colors.url = "github:misterio77/nix-colors";
|
||||
|
||||
## nixos generators
|
||||
nixos-generators = {
|
||||
url = "github:nix-community/nixos-generators";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, disko, sops-nix, musnix, nixos-generators, ... }
|
||||
outputs = { self, nixpkgs, disko, sops-nix, musnix, nixos-generators,
|
||||
#lix, lix-module, flake-utils, flake-parts,
|
||||
#nix-colors, home-manager, nixvim,
|
||||
... }
|
||||
|
||||
@inputs:
|
||||
let
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue