|
|
|
@ -7,6 +7,9 @@ let
|
|
|
|
|
config.allowUnfree = true;
|
|
|
|
|
};
|
|
|
|
|
lib = nixpkgs.lib;
|
|
|
|
|
configImports = [
|
|
|
|
|
./configuration.nix
|
|
|
|
|
];
|
|
|
|
|
hmImports = [
|
|
|
|
|
(import ./home.nix)
|
|
|
|
|
inputs.nixvim.homeManagerModules.nixvim
|
|
|
|
@ -20,9 +23,8 @@ in
|
|
|
|
|
desktop = lib.nixosSystem {
|
|
|
|
|
inherit system;
|
|
|
|
|
specialArgs = { inherit user; };
|
|
|
|
|
modules = [
|
|
|
|
|
modules = configImports ++ [
|
|
|
|
|
./desktop
|
|
|
|
|
./configuration.nix
|
|
|
|
|
./desktop.nix
|
|
|
|
|
{
|
|
|
|
|
boot.loader.grub.gfxmodeEfi = "1920x1080";
|
|
|
|
@ -46,9 +48,8 @@ in
|
|
|
|
|
x220 = lib.nixosSystem {
|
|
|
|
|
inherit system;
|
|
|
|
|
specialArgs = { inherit user; };
|
|
|
|
|
modules = [
|
|
|
|
|
modules = configImports ++ [
|
|
|
|
|
./thinkpads
|
|
|
|
|
./configuration.nix
|
|
|
|
|
./desktop.nix
|
|
|
|
|
{
|
|
|
|
|
# 1024x768 is the closest supported resolution to X220's native 1366x768
|
|
|
|
@ -74,9 +75,8 @@ in
|
|
|
|
|
t430 = lib.nixosSystem {
|
|
|
|
|
inherit system;
|
|
|
|
|
specialArgs = { inherit user; };
|
|
|
|
|
modules = [
|
|
|
|
|
modules = configImports ++ [
|
|
|
|
|
./thinkpads
|
|
|
|
|
./configuration.nix
|
|
|
|
|
./desktop.nix
|
|
|
|
|
{
|
|
|
|
|
boot.loader.grub.gfxmodeEfi = "1600x900";
|
|
|
|
@ -99,9 +99,8 @@ in
|
|
|
|
|
virtualbox = lib.nixosSystem {
|
|
|
|
|
inherit system;
|
|
|
|
|
specialArgs = { inherit user; };
|
|
|
|
|
modules = [
|
|
|
|
|
modules = configImports ++ [
|
|
|
|
|
./virtualbox
|
|
|
|
|
./configuration.nix
|
|
|
|
|
./desktop.nix
|
|
|
|
|
{
|
|
|
|
|
networking.hostName = "virtualbox";
|
|
|
|
@ -122,10 +121,12 @@ in
|
|
|
|
|
|
|
|
|
|
elnudrop = lib.nixosSystem {
|
|
|
|
|
inherit system;
|
|
|
|
|
specialArgs = { inherit user; };
|
|
|
|
|
modules = [
|
|
|
|
|
specialArgs = {
|
|
|
|
|
inherit user;
|
|
|
|
|
enableSSL = true;
|
|
|
|
|
};
|
|
|
|
|
modules = configImports ++ [
|
|
|
|
|
./elnudrop
|
|
|
|
|
./configuration.nix
|
|
|
|
|
{
|
|
|
|
|
networking.hostName = "elnudrop";
|
|
|
|
|
}
|
|
|
|
|