Experiment

This commit is contained in:
Mikael 2024-07-30 15:24:57 +02:00
parent 3ad92fadec
commit 58451877a2
2 changed files with 7 additions and 5 deletions

View file

@ -9,7 +9,7 @@ inputs: { config, lib, pkgs, osConfig, ... }: {
];
home.activation = {
fish = inputs.home-manager.lib.hm.dag.entryAfter ["writeBoundary"] ''
fish = lib.hm.dag.entryAfter ["writeBoundary"] ''
run ${lib.getExe config.programs.fish.package} -c 'set -U fish_greeting'
'';
};

View file

@ -1,4 +1,4 @@
inputs: { config, lib, pkgs, ... }: user: {
inputs: { config, lib, pkgs, user, ... }: {
imports = [ inputs.home-manager.nixosModules.home-manager ];
environment.etc."xkb/symbols/greedy" =
@ -6,9 +6,11 @@ inputs: { config, lib, pkgs, ... }: user: {
source = ./greedy.xkb;
};
home-manager.useUserPackages = lib.mkDefault true;
home-manager.useGlobalPkgs = lib.mkDefault true;
home-manager.users.${user} = inputs.self.hmModule.default;
home-manager = {
useUserPackages = lib.mkDefault true;
useGlobalPkgs = lib.mkDefault true;
users.${user} = import ./home.nix inputs;
};
programs.fish.enable = true;