2023-01-31 17:52:10 -08:00
|
|
|
{ lib, inputs, nixpkgs, home-manager, user, kmonad, ... }:
|
2022-11-08 19:08:54 -08:00
|
|
|
|
|
|
|
let
|
|
|
|
system = "x86_64-linux";
|
|
|
|
pkgs = import nixpkgs {
|
|
|
|
inherit system;
|
|
|
|
config.allowUnfree = true;
|
|
|
|
};
|
|
|
|
lib = nixpkgs.lib;
|
|
|
|
in {
|
|
|
|
NicksNixLaptop = lib.nixosSystem {
|
|
|
|
inherit system;
|
|
|
|
specialArgs = { inherit user; };
|
|
|
|
modules = [
|
|
|
|
./laptop
|
2022-11-08 19:25:28 -08:00
|
|
|
./configuration.nix
|
2022-11-08 19:08:54 -08:00
|
|
|
../modules/plasma_desktop.nix
|
|
|
|
../modules/kmonad.nix
|
2022-11-08 19:22:24 -08:00
|
|
|
{
|
2022-11-08 19:25:28 -08:00
|
|
|
networking.hostName = "NicksNixLaptop";
|
2022-11-08 19:22:24 -08:00
|
|
|
}
|
2022-11-08 19:08:54 -08:00
|
|
|
kmonad.nixosModules.default
|
|
|
|
home-manager.nixosModules.home-manager {
|
2022-11-08 19:10:46 -08:00
|
|
|
home-manager = {
|
|
|
|
useGlobalPkgs = true;
|
|
|
|
useUserPackages = true;
|
|
|
|
extraSpecialArgs = { inherit user; };
|
|
|
|
users.${user} = {
|
|
|
|
imports = [
|
|
|
|
./home.nix
|
2023-01-26 18:55:13 -08:00
|
|
|
../modules/emacs.nix
|
2023-01-27 12:46:41 -08:00
|
|
|
../modules/git.nix
|
|
|
|
../modules/fusuma.nix
|
|
|
|
../modules/vim.nix
|
2022-11-26 12:42:16 -08:00
|
|
|
../modules/wezterm.nix
|
2023-01-26 17:05:26 -08:00
|
|
|
../modules/xdg.nix
|
2022-11-08 19:10:46 -08:00
|
|
|
../modules/zsh.nix
|
|
|
|
];
|
|
|
|
};
|
2022-11-08 19:08:54 -08:00
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
2022-11-12 14:19:50 -08:00
|
|
|
|
2023-02-05 16:51:03 -08:00
|
|
|
NixsServer = lib.nixosSystem {
|
|
|
|
inherit system;
|
|
|
|
specialArgs = { inherit user; };
|
|
|
|
modules = [
|
|
|
|
./nixsserver
|
|
|
|
./nixsserver/configuration.nix
|
|
|
|
{
|
|
|
|
networking.hostName = "NicksServer";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2022-11-12 14:19:50 -08:00
|
|
|
NicksNixVMBox = lib.nixosSystem {
|
|
|
|
inherit system;
|
|
|
|
specialArgs = { inherit user; };
|
|
|
|
modules = [
|
|
|
|
./virtualbox
|
|
|
|
./configuration.nix
|
|
|
|
../modules/plasma_desktop.nix
|
|
|
|
../modules/kmonad.nix
|
|
|
|
{
|
|
|
|
networking.hostName = "NicksNixVMBox";
|
|
|
|
}
|
|
|
|
kmonad.nixosModules.default
|
|
|
|
home-manager.nixosModules.home-manager {
|
|
|
|
home-manager = {
|
|
|
|
useGlobalPkgs = true;
|
|
|
|
useUserPackages = true;
|
|
|
|
extraSpecialArgs = { inherit user; };
|
|
|
|
users.${user} = {
|
|
|
|
imports = [
|
|
|
|
./home.nix
|
|
|
|
../modules/git.nix
|
|
|
|
../modules/urxvt.nix
|
|
|
|
../modules/vim.nix
|
|
|
|
../modules/zsh.nix
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
2022-11-12 14:24:48 -08:00
|
|
|
};
|
2022-11-08 19:08:54 -08:00
|
|
|
}
|