add readme note

This commit is contained in:
jdonszelmann 2024-07-01 10:24:00 +02:00
parent 09b30b0171
commit 6aa7c90244
No known key found for this signature in database
GPG key ID: E0C1EA36407B2FF2
3 changed files with 17 additions and 4 deletions

View file

@ -2,3 +2,5 @@
``` ```
nix run .#home-manager -- switch --flake .#<configuration> nix run .#home-manager -- switch --flake .#<configuration>
``` ```
(even on non-nixos systems. I use this config on archlinux)

View file

@ -29,10 +29,12 @@
inherit (args) extraSpecialArgs; inherit (args) extraSpecialArgs;
}); });
in flake-utils.lib.eachDefaultSystem (system: rec { in
formatter = legacyPackages.nixfmt; flake-utils.lib.eachDefaultSystem
legacyPackages = pkgsForSystem system; (system: rec {
}) // { formatter = legacyPackages.nixfmt;
legacyPackages = pkgsForSystem system;
}) // {
# non-system suffixed items should go here # non-system suffixed items should go here
nixosModules.home = import ./home.nix; # attr set or list nixosModules.home = import ./home.nix; # attr set or list

View file

@ -129,6 +129,15 @@ in
}; };
}; };
typst-vim = {
enable = true;
settings = {
cmd = "${pkgs.typst}/bin/typst";
conceal_math = true;
auto_close_toc = true;
};
};
lualine = { lualine = {
enable = true; enable = true;
theme = "onedark"; theme = "onedark";