chore: More misc fixes!
This commit is contained in:
@@ -8,9 +8,6 @@
|
||||
nix-darwin.url = "github:LnL7/nix-darwin/nix-darwin-25.11";
|
||||
nix-darwin.inputs.nixpkgs.follows = "nixpkgs-darwin";
|
||||
|
||||
# Required for webcord.
|
||||
nixpkgs-electron-32.url = "github:NixOS/nixpkgs/782740762fb281404740b6b7084d356c3dab1173";
|
||||
|
||||
nixgl.url = "github:nix-community/nixGL";
|
||||
nixgl.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
@@ -19,10 +16,6 @@
|
||||
url = "github:mic92/sops-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
apple-silicon = {
|
||||
url = "github:nix-community/nixos-apple-silicon/release-2025-05-30";
|
||||
};
|
||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-25.11";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
@@ -74,8 +67,6 @@
|
||||
nixpkgs,
|
||||
nixpkgs-unstable,
|
||||
nix-darwin,
|
||||
apple-silicon,
|
||||
nixos-hardware,
|
||||
home-manager,
|
||||
ghostty,
|
||||
nixgl,
|
||||
@@ -85,50 +76,6 @@
|
||||
...
|
||||
}@inputs: {
|
||||
nixosConfigurations = {
|
||||
nixlap = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
inherit inputs ghostty;
|
||||
};
|
||||
modules = [
|
||||
./hosts/nixlap/configuration.nix
|
||||
nixos-hardware.nixosModules.framework-13-7040-amd
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.extraSpecialArgs = { inherit inputs; };
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.jmug = import ./hosts/nixlap/home.nix;
|
||||
home-manager.users.root = import ./hosts/nixlap/home-root.nix;
|
||||
}
|
||||
];
|
||||
};
|
||||
asahi = let
|
||||
pkgs-unstable_aarch64-linux = import nixpkgs-unstable {
|
||||
system = "aarch64-linux";
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
};
|
||||
in nixpkgs.lib.nixosSystem {
|
||||
system = "aarch64-linux";
|
||||
specialArgs = {
|
||||
inherit inputs apple-silicon ghostty;
|
||||
};
|
||||
modules = [
|
||||
./hosts/asahi/configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.extraSpecialArgs = {
|
||||
pkgs-unstable = pkgs-unstable_aarch64-linux;
|
||||
inherit inputs;
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.jmug = import ./hosts/asahi/home.nix;
|
||||
}
|
||||
];
|
||||
};
|
||||
devbox = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
@@ -137,13 +84,17 @@
|
||||
modules = [
|
||||
./hosts/devbox/configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.extraSpecialArgs = { inherit inputs ssh-agent-switcher; };
|
||||
({ config, ... }: {
|
||||
home-manager.extraSpecialArgs = {
|
||||
inherit inputs ssh-agent-switcher;
|
||||
inherit (config) user;
|
||||
homeConfigurationName = "devbox";
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.jmug = import ./hosts/devbox/home.nix;
|
||||
home-manager.users.root = import ./hosts/devbox/home-root.nix;
|
||||
}
|
||||
})
|
||||
];
|
||||
};
|
||||
nixbox = let
|
||||
@@ -167,11 +118,11 @@
|
||||
inherit inputs;
|
||||
inherit ssh-agent-switcher;
|
||||
inherit (config) user;
|
||||
homeConfigurationName = "nixbox";
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.jmug = import ./hosts/nixbox/home.nix;
|
||||
# home-manager.users.root = import ./hosts/devbox/home-root.nix;
|
||||
})
|
||||
];
|
||||
};
|
||||
@@ -201,6 +152,7 @@
|
||||
inherit (config) user;
|
||||
inherit opencode-tunneler;
|
||||
inherit godig;
|
||||
homeConfigurationName = "macbook";
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
|
||||
Reference in New Issue
Block a user