Compare commits

...

2 Commits

2 changed files with 78 additions and 64 deletions

View File

@ -27,9 +27,11 @@
home-manager,
... }: {
nixosConfigurations = {
galvatron = nixpkgs.lib.nixosSystem {
galvatron =
let
system = "aarch64-linux";
# specialArgs = { inherit nixpkgs-unstable; };
specialArgs = { inherit inputs; };
modules = [
./configuration.nix {
# nixpkgs.overlays = [ inputs.apple-silicon.overlays.apple-silicon-overlay ];
@ -51,10 +53,13 @@
home-manager.useUserPackages = true;
home-manager.users.mir = import ./home.nix;
}
];
};
starscream = nixpkgs.lib.nixosSystem {
]; # end of modules
in
nixpkgs.lib.nixosSystem {inherit system modules specialArgs; };
starscream =
let
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./configuration.nix {
networking.hostName = "starscream";
@ -69,10 +74,13 @@
home-manager.users.mir = import ./home.nix;
# Optionally, use home-manager.extraSpecialArgs to pass arguments to home.nix
}
];
};
knockout = nixpkgs.lib.nixosSystem {
]; # end of modules
in
nixpkgs.lib.nixosSystem {inherit system modules specialArgs; };
knockout =
let
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./configuration.nix {
networking.hostName = "knockout";
@ -85,10 +93,12 @@
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.mir = import ./home.nix;
home-manager.extraSpecialArgs = specialArgs;
# Optionally, use home-manager.extraSpecialArgs to pass arguments to home.nix
}
];
};
]; # end of modules
in
nixpkgs.lib.nixosSystem {inherit system modules specialArgs; };
};
};
}

View File

@ -1,4 +1,4 @@
{ lib, config, pkgs, ... }:
{ lib, config, pkgs, inputs, ... }:
with lib.hm.gvariant;
{
@ -21,6 +21,7 @@ with lib.hm.gvariant;
pkgs.mpv
pkgs.fzf
pkgs.nerdfonts
pkgs.eza
# pkgs.gnupg
# pkgs.python3
# (pkgs.python3.withPackages(
@ -83,7 +84,10 @@ with lib.hm.gvariant;
# programs.gdb = {
# enable = true;
# };
# home.file.".local/src/emacs".source = inputs.emacs-config;
home.file.".emacs.d" = {
source = inputs.emacs-config;
recursive = true;
};
# programs.dconf.enable = true;
home.file.".local/share/backgrounds/mojave.jpg".source = builtins.fetchurl {
url = "https://www.teahub.io/photos/full/154-1542362_mac-os-mojave-screenshot.jpg";