Compare commits
2 Commits
4421fe8bad
...
0d3521466c
| Author | SHA1 | Date | |
|---|---|---|---|
|
0d3521466c
|
|||
|
9582b05b43
|
12
README.md
12
README.md
@ -1,6 +1,6 @@
|
||||
# NixOS Configuration
|
||||
|
||||
Modular NixOS configuration, using Hyprland for a lightweight desktop.
|
||||
Modular NixOS configuration, using Hyprland (yikes) or Niri for a tiling/scrolling desktop.
|
||||
|
||||

|
||||
|
||||
@ -10,7 +10,10 @@ Modular NixOS configuration, using Hyprland for a lightweight desktop.
|
||||
<img src="/Btop.png" width="33%" />
|
||||
</p>
|
||||
|
||||

|
||||
|
||||
To install, run `nixos-rebuild` with the `--flake` parameter from the `NixFlake` directory: `nixos-rebuild switch --flake .#nixinator`.
|
||||
Alternatively, use `nh os switch` or `nh os boot`.
|
||||
|
||||
## NixFlake/system
|
||||
|
||||
@ -19,6 +22,7 @@ Contains all the system configurations.
|
||||
- There is a common configuration used for all systems: `NixFlake/system/default.nix`
|
||||
- Every system has its own special configuration: `NixFlake/system/<hostname>/default.nix`
|
||||
- System modules are located in `NixFlake/system/modules`
|
||||
- Hosted services are located in `NixFlake/system/services`
|
||||
|
||||
When creating a NixOS configuration inside the `NixFlake/flake.nix` the common configuration is imported.
|
||||
Because the hostname is propagated to the common configuration, it can import the host-specific config by itself.
|
||||
@ -41,6 +45,6 @@ Each derivation is loaded into `NixFlake/derivations/default.nix`.
|
||||
|
||||
## NixFlake/overlays
|
||||
|
||||
Contains (not at the moment) all overlays.
|
||||
The `NixFlake/overlays/default.nix` imports all of the overlays and all of the derivations.
|
||||
It is then imported by the toplevel `NixFlake/flake.nix`, to make everything available to the system/home configurations.
|
||||
Contains all overlays, e.g. package version overrides.
|
||||
The `NixFlake/overlays/default.nix` imports all overlays and all derivations.
|
||||
It is then imported by the top-level `NixFlake/flake.nix`, to make everything available to the system/home configurations.
|
||||
|
||||
@ -29,6 +29,7 @@
|
||||
# Remove this after jetbrains.jdk builds again (nixpkgs issue 425328)
|
||||
# jetbrains.rider = pkgs-stable.jetbrains.rider;
|
||||
|
||||
# Now in Nixpkgs
|
||||
# neovide = prev.neovide.overrideAttrs (finalAttrs: prevAttrs: {
|
||||
# version = "0.15.1";
|
||||
# src = prev.fetchFromGitHub {
|
||||
@ -44,20 +45,21 @@
|
||||
# };
|
||||
# });
|
||||
|
||||
rmpc = prev.rmpc.overrideAttrs (finalAttrs: prevAttrs: {
|
||||
version = "0.10.0";
|
||||
src = prev.fetchFromGitHub {
|
||||
owner = "mierak";
|
||||
repo = "rmpc";
|
||||
rev = "v0.10.0";
|
||||
hash = "sha256-NU8T26oPhm8L7wdO4p65cpNa0pax7/oqHGs98QDoEc0=";
|
||||
};
|
||||
cargoHash = "sha256-d2/4q2s/11HNE18D8d8Y2yWidhT+XsUS4J9ahnxToI0=";
|
||||
cargoDeps = prev.rustPlatform.fetchCargoVendor {
|
||||
inherit (finalAttrs) pname src version;
|
||||
hash = finalAttrs.cargoHash;
|
||||
};
|
||||
});
|
||||
# Now in Nixpkgs
|
||||
# rmpc = prev.rmpc.overrideAttrs (finalAttrs: prevAttrs: {
|
||||
# version = "0.10.0";
|
||||
# src = prev.fetchFromGitHub {
|
||||
# owner = "mierak";
|
||||
# repo = "rmpc";
|
||||
# rev = "v0.10.0";
|
||||
# hash = "sha256-NU8T26oPhm8L7wdO4p65cpNa0pax7/oqHGs98QDoEc0=";
|
||||
# };
|
||||
# cargoHash = "sha256-d2/4q2s/11HNE18D8d8Y2yWidhT+XsUS4J9ahnxToI0=";
|
||||
# cargoDeps = prev.rustPlatform.fetchCargoVendor {
|
||||
# inherit (finalAttrs) pname src version;
|
||||
# hash = finalAttrs.cargoHash;
|
||||
# };
|
||||
# });
|
||||
};
|
||||
in
|
||||
# Composes a list of overlays and returns a single overlay function that combines them.
|
||||
|
||||
Reference in New Issue
Block a user