mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2024-11-22 07:58:49 +01:00
restructure hm moduels to ibe more flexible
This commit is contained in:
parent
e6d3d00297
commit
212e521c73
5 changed files with 29 additions and 5 deletions
17
configs/fedora/home.nix
Normal file
17
configs/fedora/home.nix
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [ ./../../home-manager/modules/machine.nix ];
|
||||||
|
|
||||||
|
machine = {
|
||||||
|
username = "thilo";
|
||||||
|
isGeneric = true;
|
||||||
|
isGnome = false;
|
||||||
|
noiseSuppression.enable = false;
|
||||||
|
isGraphical = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
}
|
|
@ -68,11 +68,17 @@
|
||||||
];
|
];
|
||||||
specialArgs = { inherit inputs; };
|
specialArgs = { inherit inputs; };
|
||||||
};
|
};
|
||||||
|
homeConfigurations."thilo@thilo-pc" =
|
||||||
|
home-manager.lib.homeManagerConfiguration {
|
||||||
|
inherit pkgs;
|
||||||
|
modules = [ ./configs/fedora/home.nix ];
|
||||||
|
extraSpecialArgs = { inherit inputs nixgl; };
|
||||||
|
};
|
||||||
homeConfigurations."thilo@thilo-pc-win" =
|
homeConfigurations."thilo@thilo-pc-win" =
|
||||||
home-manager.lib.homeManagerConfiguration {
|
home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
modules = [ ./configs/wsl/home.nix ];
|
modules = [ ./configs/wsl/home.nix ];
|
||||||
extraSpecialArgs = { inherit inputs; };
|
extraSpecialArgs = { inherit inputs nixgl; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -70,11 +70,13 @@ in {
|
||||||
unrar
|
unrar
|
||||||
inputs.w17.packages.x86_64-linux.default
|
inputs.w17.packages.x86_64-linux.default
|
||||||
aichat
|
aichat
|
||||||
nix-output-monitor
|
|
||||||
] ++ (if config.machine.isGraphical then [
|
|
||||||
(pkgs.nerdfonts.override {
|
(pkgs.nerdfonts.override {
|
||||||
fonts = [ "JetBrainsMono" "FiraCode" "FiraMono" ];
|
fonts = [ "JetBrainsMono" "FiraCode" "FiraMono" ];
|
||||||
})
|
})
|
||||||
|
nix-output-monitor
|
||||||
|
nodePackages.pnpm
|
||||||
|
npm-check-updates
|
||||||
|
] ++ (if config.machine.isGraphical then [
|
||||||
corefonts
|
corefonts
|
||||||
vistafonts
|
vistafonts
|
||||||
jetbrains.webstorm
|
jetbrains.webstorm
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.alacritty = {
|
programs.alacritty = {
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
{
|
{
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.gitFull;
|
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
userEmail = "thilo.billerbeck@officerent.de";
|
userEmail = "thilo.billerbeck@officerent.de";
|
||||||
userName = "Thilo Billerbeck";
|
userName = "Thilo Billerbeck";
|
||||||
|
|
Loading…
Reference in a new issue