add readme note
This commit is contained in:
parent
09b30b0171
commit
6aa7c90244
3 changed files with 17 additions and 4 deletions
|
|
@ -2,3 +2,5 @@
|
|||
```
|
||||
nix run .#home-manager -- switch --flake .#<configuration>
|
||||
```
|
||||
|
||||
(even on non-nixos systems. I use this config on archlinux)
|
||||
|
|
|
|||
10
flake.nix
10
flake.nix
|
|
@ -29,10 +29,12 @@
|
|||
inherit (args) extraSpecialArgs;
|
||||
});
|
||||
|
||||
in flake-utils.lib.eachDefaultSystem (system: rec {
|
||||
formatter = legacyPackages.nixfmt;
|
||||
legacyPackages = pkgsForSystem system;
|
||||
}) // {
|
||||
in
|
||||
flake-utils.lib.eachDefaultSystem
|
||||
(system: rec {
|
||||
formatter = legacyPackages.nixfmt;
|
||||
legacyPackages = pkgsForSystem system;
|
||||
}) // {
|
||||
# non-system suffixed items should go here
|
||||
nixosModules.home = import ./home.nix; # attr set or list
|
||||
|
||||
|
|
|
|||
9
home.nix
9
home.nix
|
|
@ -129,6 +129,15 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
typst-vim = {
|
||||
enable = true;
|
||||
settings = {
|
||||
cmd = "${pkgs.typst}/bin/typst";
|
||||
conceal_math = true;
|
||||
auto_close_toc = true;
|
||||
};
|
||||
};
|
||||
|
||||
lualine = {
|
||||
enable = true;
|
||||
theme = "onedark";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue