Experiment
This commit is contained in:
parent
3ad92fadec
commit
58451877a2
2 changed files with 7 additions and 5 deletions
2
home.nix
2
home.nix
|
@ -9,7 +9,7 @@ inputs: { config, lib, pkgs, osConfig, ... }: {
|
||||||
];
|
];
|
||||||
|
|
||||||
home.activation = {
|
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'
|
run ${lib.getExe config.programs.fish.package} -c 'set -U fish_greeting'
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
10
module.nix
10
module.nix
|
@ -1,4 +1,4 @@
|
||||||
inputs: { config, lib, pkgs, ... }: user: {
|
inputs: { config, lib, pkgs, user, ... }: {
|
||||||
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||||||
|
|
||||||
environment.etc."xkb/symbols/greedy" =
|
environment.etc."xkb/symbols/greedy" =
|
||||||
|
@ -6,9 +6,11 @@ inputs: { config, lib, pkgs, ... }: user: {
|
||||||
source = ./greedy.xkb;
|
source = ./greedy.xkb;
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.useUserPackages = lib.mkDefault true;
|
home-manager = {
|
||||||
home-manager.useGlobalPkgs = lib.mkDefault true;
|
useUserPackages = lib.mkDefault true;
|
||||||
home-manager.users.${user} = inputs.self.hmModule.default;
|
useGlobalPkgs = lib.mkDefault true;
|
||||||
|
users.${user} = import ./home.nix inputs;
|
||||||
|
};
|
||||||
|
|
||||||
programs.fish.enable = true;
|
programs.fish.enable = true;
|
||||||
|
|
||||||
|
|
Reference in a new issue