Compare commits
6 commits
7b585dec5a
...
e9faa6b70e
| Author | SHA1 | Date | |
|---|---|---|---|
| e9faa6b70e | |||
| 9719d3eefc | |||
| 0f5c4e2383 | |||
| 68a7cc25ac | |||
| cc07dcd4df | |||
| 5ed43a4193 |
4 changed files with 60 additions and 0 deletions
28
flake.nix
28
flake.nix
|
|
@ -191,5 +191,33 @@
|
|||
};
|
||||
|
||||
};
|
||||
|
||||
homeConfigurations = {
|
||||
jufr2 = let
|
||||
username = "jufr2";
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
|
||||
extraSpecialArgs = {
|
||||
inherit username;
|
||||
};
|
||||
|
||||
modules = [
|
||||
home/core.nix
|
||||
|
||||
home/targets/genericLinux.nix
|
||||
|
||||
modules/nix.nix
|
||||
home/neovim/default.nix
|
||||
home/zsh/default.nix
|
||||
home/cli.nix
|
||||
];
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
|||
24
home/cli.nix
Normal file
24
home/cli.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs; [
|
||||
wget
|
||||
curl
|
||||
git
|
||||
neofetch
|
||||
tealdeer
|
||||
|
||||
pdfgrep
|
||||
pdftk
|
||||
p7zip
|
||||
];
|
||||
|
||||
programs = {
|
||||
htop.enable = true;
|
||||
git.enable = true;
|
||||
bat.enable = true;
|
||||
};
|
||||
}
|
||||
7
home/targets/genericLinux.nix
Normal file
7
home/targets/genericLinux.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
|
||||
targets.genericLinux.enable = true;
|
||||
|
||||
}
|
||||
|
|
@ -5,6 +5,7 @@
|
|||
}: {
|
||||
# do garbage collection weekly to keep disk usage low
|
||||
nix = {
|
||||
package = pkgs.nix;
|
||||
settings = {
|
||||
experimental-features = ["nix-command" "flakes"];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue