feat: adds nixos egg yoke
All checks were successful
gitea-deepak/nixconf/pipeline/head This commit looks good
All checks were successful
gitea-deepak/nixconf/pipeline/head This commit looks good
This commit is contained in:
106
hosts/hosts.nix
106
hosts/hosts.nix
@@ -1,43 +1,63 @@
|
||||
{ lib, inputs, nixpkgs-23-11, homeManager, homeManager-23-11, NixOS-WSL, customPackageOverlay, ... }:
|
||||
{
|
||||
"maxos" = lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
inherit customPackageOverlay;
|
||||
};
|
||||
modules = [
|
||||
./maxos/configuration.nix
|
||||
homeManager.nixosModules.home-manager {
|
||||
home-manager.extraSpecialArgs = {
|
||||
withGUI = true;
|
||||
gitSigningKey = "976F3357369149AB";
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.users.deepak = {
|
||||
imports = [ ../home/deepak/home.nix ];
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
"nixosWSL" = nixpkgs-23-11.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
inherit customPackageOverlay;
|
||||
};
|
||||
modules = [
|
||||
./nixosWSL/configuration.nix
|
||||
homeManager-23-11.nixosModules.home-manager {
|
||||
home-manager.extraSpecialArgs = {
|
||||
withGUI = false;
|
||||
gitSigningKey = "8F904A3FC7021497";
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.users.deepak = {
|
||||
imports = [ ../home/deepak/home.nix ];
|
||||
};
|
||||
}
|
||||
NixOS-WSL.nixosModules.wsl
|
||||
];
|
||||
};
|
||||
}
|
||||
{ lib, inputs, nixpkgs-23-11, nixpkgs-24-05, homeManager, homeManager-23-11, homeManager-24-05, NixOS-WSL, NixOS-WSL-2405, customPackageOverlay, ... }:
|
||||
{
|
||||
"maxos" = lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
inherit customPackageOverlay;
|
||||
};
|
||||
modules = [
|
||||
./maxos/configuration.nix
|
||||
homeManager.nixosModules.home-manager {
|
||||
home-manager.extraSpecialArgs = {
|
||||
withGUI = true;
|
||||
gitSigningKey = "976F3357369149AB";
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.users.deepak = {
|
||||
imports = [ ../home/deepak/home.nix ];
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
"nixosWSL" = nixpkgs-23-11.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
inherit customPackageOverlay;
|
||||
};
|
||||
modules = [
|
||||
./nixosWSL/configuration.nix
|
||||
homeManager-23-11.nixosModules.home-manager {
|
||||
home-manager.extraSpecialArgs = {
|
||||
withGUI = false;
|
||||
gitSigningKey = "8F904A3FC7021497";
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.users.deepak = {
|
||||
imports = [ ../home/deepak/home.nix ];
|
||||
};
|
||||
}
|
||||
NixOS-WSL.nixosModules.wsl
|
||||
];
|
||||
};
|
||||
"nixosEggYoke" = nixpkgs-24-05.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
inherit customPackageOverlay;
|
||||
};
|
||||
modules = [
|
||||
./nixosEggYoke/configuration.nix
|
||||
homeManager-24-05.nixosModules.home-manager {
|
||||
home-manager.extraSpecialArgs = {
|
||||
withGUI = false;
|
||||
gitSigningKey = "47831B15427F5A55";
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.users.deepak = {
|
||||
imports = [ ../home/deepak/home.nix ];
|
||||
};
|
||||
}
|
||||
NixOS-WSL-2405.nixosModules.wsl
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ in
|
||||
|
||||
};
|
||||
|
||||
networking.hostName = "nixosWSL"; # Define your hostname.
|
||||
networking.hostName = "nixosEggYoke"; # Define your hostname.
|
||||
|
||||
# Enable nix flakes
|
||||
nix.package = pkgs.nixFlakes;
|
||||
@@ -61,6 +61,9 @@ in
|
||||
pinentry-curses
|
||||
gnupg
|
||||
];
|
||||
|
||||
# try this out to fix WSL issue
|
||||
environment.noXlibs = false;
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
fira-code
|
||||
@@ -72,7 +75,7 @@ in
|
||||
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
pinentryFlavor = "curses";
|
||||
pinentryPackage = pkgs.pinentry-qt;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user