feat: minor improvements (add vim, $FLAKE)

This commit is contained in:
Swarsel 2024-12-16 21:05:18 +01:00
parent 61137e106f
commit 95339bd6a7
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
3 changed files with 6 additions and 4 deletions

View file

@ -7287,7 +7287,7 @@ This section sets up all the imports that are used in the home-manager section.
Again, we adapt =nix= to our needs, enable the home-manager command for non-NixOS machines (NixOS machines are using it as a module) and setting user information that I always keep the same.
#+begin_src nix :tangle profiles/common/home/settings.nix
{ lib, config, pkgs, ... }:
{ self, lib, config, pkgs, ... }:
{
nix = {
package = lib.mkDefault pkgs.nix;
@ -7309,7 +7309,7 @@ This section sets up all the imports that are used in the home-manager section.
stateVersion = lib.mkDefault "23.05";
keyboard.layout = "us";
sessionVariables = {
FLAKE = "$HOME/.dotfiles";
FLAKE = "${self}";
};
};
}
@ -7366,6 +7366,7 @@ This holds packages that I can use as provided, or with small modifications (as
hyprpicker # color picker
findutils
units
vim
# nix
alejandra

View file

@ -30,6 +30,7 @@
hyprpicker # color picker
findutils
units
vim
# nix
alejandra

View file

@ -1,4 +1,4 @@
{ lib, config, pkgs, ... }:
{ self, lib, config, pkgs, ... }:
{
nix = {
package = lib.mkDefault pkgs.nix;
@ -20,7 +20,7 @@
stateVersion = lib.mkDefault "23.05";
keyboard.layout = "us";
sessionVariables = {
FLAKE = "$HOME/.dotfiles";
FLAKE = "${self}";
};
};
}