More fixes for work
This commit is contained in:
parent
a1f90b7520
commit
c372522228
13
home.nix
13
home.nix
|
@ -7,11 +7,8 @@ inputs:
|
||||||
in inputs.home-manager.lib.homeManagerConfiguration {
|
in inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
modules = [
|
modules = [
|
||||||
(import
|
(import ./home/user.nix pkgs)
|
||||||
./home/daniel.nix
|
(import ./home/linux.nix pkgs)
|
||||||
./home/linux.nix
|
|
||||||
|
|
||||||
pkgs)
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -21,10 +18,8 @@ inputs:
|
||||||
in inputs.home-manager.lib.homeManagerConfiguration {
|
in inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
modules = [
|
modules = [
|
||||||
(import
|
(import ./home/user.nix pkgs)
|
||||||
./home/daniel.nix
|
(import ./home/work.nix pkgs)
|
||||||
|
|
||||||
pkgs)
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
# };
|
# };
|
||||||
# };
|
# };
|
||||||
|
|
||||||
home.username = "daniel";
|
home.username = lib.mkDefault "daniel";
|
||||||
home.homeDirectory = lib.mkDefault "/home/daniel/.home";
|
home.homeDirectory = lib.mkDefault "/home/daniel/.home";
|
||||||
home.stateVersion = "23.05";
|
home.stateVersion = "23.05";
|
||||||
|
|
||||||
|
@ -15,6 +15,15 @@
|
||||||
# I use this for managing the following programs' versions instead of nix:
|
# I use this for managing the following programs' versions instead of nix:
|
||||||
# kubectl, aws
|
# kubectl, aws
|
||||||
|
|
||||||
|
# text editor
|
||||||
|
pkgs.helix
|
||||||
|
|
||||||
|
# I need gawk for my fish prompt
|
||||||
|
pkgs.gawk
|
||||||
|
|
||||||
|
pkgs.nil
|
||||||
|
pkgs.nixpkgs-fmt
|
||||||
|
|
||||||
# TODO: os-specific scripts? macOS versus Linux (arch or nixos? do I need to distinguish at that point?)
|
# TODO: os-specific scripts? macOS versus Linux (arch or nixos? do I need to distinguish at that point?)
|
||||||
(pkgs.buildEnv { name = "my-scripts"; paths = [ ../scripts ]; })
|
(pkgs.buildEnv { name = "my-scripts"; paths = [ ../scripts ]; })
|
||||||
];
|
];
|
6
home/work.nix
Normal file
6
home/work.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{ lib, ... }: let
|
||||||
|
username = "daniel.flanagan@divvypay.com";
|
||||||
|
in {
|
||||||
|
home.username = username;
|
||||||
|
home.homeDirectory = "/Users/${username}";
|
||||||
|
}
|
Loading…
Reference in a new issue