Fix flake.nix and home/default.nix configurations

This commit is contained in:
panotaka
2023-11-25 00:23:44 -04:00
parent dc7f1c0234
commit 19f7ff60e8
3 changed files with 49 additions and 39 deletions

View File

@@ -27,34 +27,41 @@
home-manager.users.panotaka = import ./home;
}
];
};
msi-rtx4090 = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./hosts/msi-rtx4090
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = inputs;
home-manager.users.panotaka = import ./home;
}
];
}; */
Equinox = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./hosts/Equinox
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = inputs;
home-manager.users.panotaka = import ./home;
}
];
};
};*/
Equinox = nixpkgs.lib.nixosSystem
{
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./hosts/Equinox
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = inputs;
home-manager.users.panotaka =
{
imports = [
./home
./home/shell
./home/desktop
];
};
}
];
};
};
homeConfigurations.panotaka = home-manager.lib.homeManagerConfiguration
{
homeDirectory = "/home/panotaka";
configuration = { pkgs, ... }: {
imports = [
./home
./home/shell
];
};
};
};
}

View File

@@ -1,11 +1,6 @@
{ config, pkgs, ... }:
{
imports = [
];
# Home Manager needs a bit of information about you and the
# paths it should manage.
home = {
@@ -24,12 +19,8 @@
};
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
programs.firefox.enable = true;
home.packages = [
pkgs.teams-for-linux
];
pkgs.teams-for-linux
];
}

12
home/shell/git.nix Normal file
View File

@@ -0,0 +1,12 @@
{ pkgs
, ...
}: {
home.packages = [ pkgs.gh ];
programs.git = {
enable = true;
userName = "Thomas Syms";
userEmail = "thomassyms@gmail.com";
};
}