Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
008c875
flake: Add nvf input
TheMaxMur Jan 27, 2025
5187f53
home/modules: Delete old neovim config
TheMaxMur Jan 27, 2025
c7a233d
home: Add nvf module
TheMaxMur Jan 27, 2025
dd60d9a
home/modules: Rewrite neovim module to nvf
TheMaxMur Jan 27, 2025
8ded139
assets: Update keyboard layout
TheMaxMur Mar 8, 2025
52d4bde
topology: Update scheme
TheMaxMur Mar 8, 2025
f74fa3b
common: Remove with lib, inherit only uses funcs
TheMaxMur Mar 8, 2025
7cd9dd4
home/modules: Change toggle floating hotkey for hyprland
TheMaxMur Mar 8, 2025
fba46e0
home/modules: Change some hotkeys for sway
TheMaxMur Mar 8, 2025
5da24bc
home/modules: Sway add some hotkeys for change layout
TheMaxMur Mar 8, 2025
9356e1c
home/modules: Fix vscode warnings
TheMaxMur Mar 8, 2025
c33e39d
home/users/maxmur: Add thunar, vlc, nvf in impermanence
TheMaxMur Mar 8, 2025
83369fe
home/users/maxmur: Add google-chrome, vial in packages
TheMaxMur Mar 8, 2025
41300ed
common: Move some varibles from nixos to user session
TheMaxMur Mar 8, 2025
d4f130d
common: Fix nur
TheMaxMur Mar 8, 2025
4b293d5
home/modules: Change nogoo to google in librewolf
TheMaxMur Mar 8, 2025
577b9c0
home/modules: Add some functions in neovim
TheMaxMur Mar 8, 2025
72327d0
home/modules: Some fixes for nvf
TheMaxMur Mar 8, 2025
9d841a7
system/nixos/modules/serivces: Irqbalance init
TheMaxMur Mar 8, 2025
412cb2b
system/machine: irqbalance enable
TheMaxMur Mar 8, 2025
d0f9c02
system/machine/pcbox: Add some params for kernel
TheMaxMur Mar 8, 2025
9d50a59
system/nixos/modules: Add some params for security
TheMaxMur Mar 8, 2025
2ad3d45
system/nixos/modules: Tune pipewire
TheMaxMur Mar 8, 2025
0917285
modules: Add allowed and trusted users for nix, and add devenv sub
TheMaxMur Mar 8, 2025
9d02c2c
common: Add custom theme support per host
TheMaxMur Mar 8, 2025
ae524bf
defaults: Add foot client support and server auto enable
TheMaxMur Mar 8, 2025
482f9e3
defaults: Fix cliphist execs
TheMaxMur Mar 8, 2025
42c3599
home/users/maxmur: Disable firefox
TheMaxMur Mar 8, 2025
2534759
home/users/maxmur: Enable session variables
TheMaxMur Mar 8, 2025
eb0796b
home/users/maxmur: Try fix xdg for zathura
TheMaxMur Mar 8, 2025
c65dcb2
flake: Update lock
TheMaxMur Mar 8, 2025
2cbf846
fmt: Change to alejandra
TheMaxMur Mar 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified assets/keyboard/layer-0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/keyboard/layer-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/keyboard/layer-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/keyboard/layer-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/keyboard/layer-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/keyboard/layer-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/keyboard/layer-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/network/main.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/network/network.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 7 additions & 5 deletions docs/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
perSystem =
{ self', pkgs, ... }:
{
packages.mydocs = pkgs.callPackage ./docs.nix { self = self'; };
};
perSystem = {
self',
pkgs,
...
}: {
packages.mydocs = pkgs.callPackage ./docs.nix {self = self';};
};
}
61 changes: 29 additions & 32 deletions docs/docs.nix
Original file line number Diff line number Diff line change
@@ -1,45 +1,42 @@
/*
{ pkgs
, ...
}:
{ pkgs
, ...
}:

let
inherit (pkgs) stdenv mkdocs python310Packages;
options-doc = pkgs.callPackage ./options-doc.nix {};
in stdenv.mkDerivation {
src = ./.;
name = "docs";
let
inherit (pkgs) stdenv mkdocs python310Packages;
options-doc = pkgs.callPackage ./options-doc.nix {};
in stdenv.mkDerivation {
src = ./.;
name = "docs";

buildInput = [ options-doc ];
buildInput = [ options-doc ];

nativeBuildInputs = [
mkdocs
python310Packages.mkdocs-material
python310Packages.pygments
];
nativeBuildInputs = [
mkdocs
python310Packages.mkdocs-material
python310Packages.pygments
];

buildPhase = ''
ln -s ${options-doc} "./docs/nixos-options.md"
mkdocs build
'';
buildPhase = ''
ln -s ${options-doc} "./docs/nixos-options.md"
mkdocs build
'';

installPhase = ''
mv site $out
'';
}
installPhase = ''
mv site $out
'';
}
*/

{
writeShellScriptBin,
pkgs,
self,
...
}:

let
options-doc = pkgs.callPackage ./options-doc.nix { inherit self; };
}: let
options-doc = pkgs.callPackage ./options-doc.nix {inherit self;};
in
writeShellScriptBin "gen-options-doc" ''
echo "Generating NixOS module options documentation"
cat ${options-doc} > OPTIONS.md
''
writeShellScriptBin "gen-options-doc" ''
echo "Generating NixOS module options documentation"
cat ${options-doc} > OPTIONS.md
''
12 changes: 5 additions & 7 deletions docs/options-doc.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
pkgs,
runCommand,
nixosOptionsDoc,
}:

let
}: let
eval = lib.evalModules {
specialArgs = { inherit self pkgs; };
specialArgs = {inherit self pkgs;};

modules = [
(lib.nixosSystem {
Expand All @@ -24,6 +22,6 @@ let
inherit (eval) options;
};
in
runCommand "options-doc.md" { } ''
cat ${optionsDoc.optionsCommonMark} >> $out
''
runCommand "options-doc.md" {} ''
cat ${optionsDoc.optionsCommonMark} >> $out
''
Loading