mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2024-11-21 23:48: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; };
|
||||
};
|
||||
homeConfigurations."thilo@thilo-pc" =
|
||||
home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
modules = [ ./configs/fedora/home.nix ];
|
||||
extraSpecialArgs = { inherit inputs nixgl; };
|
||||
};
|
||||
homeConfigurations."thilo@thilo-pc-win" =
|
||||
home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
modules = [ ./configs/wsl/home.nix ];
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
extraSpecialArgs = { inherit inputs nixgl; };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -70,11 +70,13 @@ in {
|
|||
unrar
|
||||
inputs.w17.packages.x86_64-linux.default
|
||||
aichat
|
||||
nix-output-monitor
|
||||
] ++ (if config.machine.isGraphical then [
|
||||
(pkgs.nerdfonts.override {
|
||||
fonts = [ "JetBrainsMono" "FiraCode" "FiraMono" ];
|
||||
})
|
||||
nix-output-monitor
|
||||
nodePackages.pnpm
|
||||
npm-check-updates
|
||||
] ++ (if config.machine.isGraphical then [
|
||||
corefonts
|
||||
vistafonts
|
||||
jetbrains.webstorm
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, ... }:
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
programs.alacritty = {
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
package = pkgs.gitFull;
|
||||
lfs.enable = true;
|
||||
userEmail = "thilo.billerbeck@officerent.de";
|
||||
userName = "Thilo Billerbeck";
|
||||
|
|
Loading…
Reference in a new issue