2022-11-15 13:45:19 +01:00
|
|
|
{
|
2023-01-25 23:37:09 +01:00
|
|
|
description = "Zonsopkomst's NixOS Flake to Manage Multiple Machines";
|
2022-11-15 13:45:19 +01:00
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
home-manager.url = "github:nix-community/home-manager";
|
|
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
2023-01-24 21:51:35 +01:00
|
|
|
hyprland.url = "github:hyprwm/Hyprland";
|
2022-11-15 13:45:19 +01:00
|
|
|
};
|
|
|
|
|
2023-01-25 23:37:09 +01:00
|
|
|
outputs = inputs@{
|
2023-01-31 21:58:01 +01:00
|
|
|
home-manager,
|
|
|
|
hyprland,
|
|
|
|
nixpkgs,
|
|
|
|
...
|
|
|
|
}: {
|
2023-01-25 23:37:09 +01:00
|
|
|
|
2022-11-15 13:45:19 +01:00
|
|
|
nixosConfigurations = {
|
|
|
|
|
2023-01-25 20:21:08 +01:00
|
|
|
frija = nixpkgs.lib.nixosSystem {
|
2023-01-24 21:51:35 +01:00
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
2023-03-19 22:25:46 +01:00
|
|
|
|
|
|
|
# Common Resources
|
2023-02-12 16:47:49 +01:00
|
|
|
|
2023-03-19 22:25:46 +01:00
|
|
|
# Desktop
|
2023-02-12 17:06:56 +01:00
|
|
|
./desktop/gnome.nix
|
|
|
|
./display/gdm.nix
|
|
|
|
#./desktop/kde.nix
|
|
|
|
#./display/sddm.nix
|
2023-03-19 03:17:33 +01:00
|
|
|
#./desktop/hyprland.nix
|
2023-03-03 13:56:19 +01:00
|
|
|
|
2023-03-19 22:25:46 +01:00
|
|
|
# Kernels & RAM
|
2023-03-03 13:56:19 +01:00
|
|
|
#./common/kernel.zen.nix
|
2023-03-13 16:13:07 +01:00
|
|
|
#./commmon/swappiness
|
2023-02-12 16:47:49 +01:00
|
|
|
|
2023-09-14 18:56:52 +02:00
|
|
|
# Common
|
2023-02-07 18:08:47 +01:00
|
|
|
./common/amd.nix
|
2023-03-13 19:26:12 +01:00
|
|
|
#./common/bluetooth.nix
|
2023-02-07 18:08:47 +01:00
|
|
|
./common/CUPS.nix
|
2023-09-14 18:56:52 +02:00
|
|
|
#./common/hyprland.nix
|
2023-02-07 18:08:47 +01:00
|
|
|
./common/pipewire.nix
|
|
|
|
./common/time.nix
|
|
|
|
#./common/docker.nix
|
|
|
|
./common/flakeinit.nix
|
|
|
|
#./common/flatpak.nix
|
|
|
|
#./common/gaming.nix
|
|
|
|
#./common/insecure.nix
|
|
|
|
./common/networking.nix
|
2023-09-14 18:56:52 +02:00
|
|
|
./common/terminal.nix
|
2023-02-08 02:31:44 +01:00
|
|
|
./common/unfree.nix
|
2023-02-07 18:08:47 +01:00
|
|
|
#./common/waydroid.nix
|
|
|
|
./common/x11.nix
|
|
|
|
|
2023-03-19 22:25:46 +01:00
|
|
|
# Host Specific
|
2023-02-07 18:08:47 +01:00
|
|
|
./hosts/local/frija/default.nix
|
|
|
|
./hosts/local/frija/hardware-configuration.nix
|
|
|
|
./hosts/local/frija/packages.nix
|
|
|
|
|
2023-03-19 22:25:46 +01:00
|
|
|
# User Specific
|
2023-02-09 06:38:12 +01:00
|
|
|
./users/aspire/home-manager.nix
|
2023-02-07 18:08:47 +01:00
|
|
|
#./users/aspire/syncthing.nix
|
2023-02-08 14:11:54 +01:00
|
|
|
|
2023-01-24 21:51:35 +01:00
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
{
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
2023-01-31 21:58:01 +01:00
|
|
|
home-manager.users.aspire = import ./hosts/local/frija/home.nix;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
tyr = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
2023-02-09 06:38:12 +01:00
|
|
|
|
2023-03-19 22:25:46 +01:00
|
|
|
# Common Resources
|
2023-02-12 16:47:49 +01:00
|
|
|
|
2023-03-19 22:25:46 +01:00
|
|
|
# Desktop
|
2023-02-12 17:56:29 +01:00
|
|
|
./desktop/gnome.nix
|
2023-02-19 21:50:22 +01:00
|
|
|
./display/gdm.nix
|
|
|
|
#./desktop/kde.nix
|
|
|
|
#./display/sddm.nix
|
2023-03-19 03:17:33 +01:00
|
|
|
#./desktop/hyprland.nix
|
2023-03-03 13:56:19 +01:00
|
|
|
|
2023-03-19 22:25:46 +01:00
|
|
|
# Kernels & RAM
|
2023-03-03 13:56:19 +01:00
|
|
|
./common/kernel.zen.nix
|
2023-03-13 16:13:07 +01:00
|
|
|
#./commmon/swappiness
|
2023-02-12 16:47:49 +01:00
|
|
|
|
2023-09-14 18:56:52 +02:00
|
|
|
# Common
|
2023-02-09 06:38:12 +01:00
|
|
|
#./common/amd.nix
|
2023-03-13 19:26:12 +01:00
|
|
|
#./common/bluetooth.nix
|
2023-02-09 06:38:12 +01:00
|
|
|
./common/CUPS.nix
|
2023-09-14 18:56:52 +02:00
|
|
|
#./common/hyprland.nix
|
2023-02-09 06:38:12 +01:00
|
|
|
./common/pipewire.nix
|
|
|
|
./common/time.nix
|
|
|
|
./common/docker.nix
|
|
|
|
./common/flakeinit.nix
|
|
|
|
./common/flatpak.nix
|
|
|
|
./common/gaming.nix
|
|
|
|
./common/insecure.nix
|
|
|
|
./common/networking.nix
|
2023-09-14 18:56:52 +02:00
|
|
|
./common/terminal.nix
|
2023-02-09 06:38:12 +01:00
|
|
|
./common/unfree.nix
|
|
|
|
#./common/waydroid.nix
|
|
|
|
./common/x11.nix
|
|
|
|
|
2023-03-19 22:25:46 +01:00
|
|
|
# Host Specific
|
2023-02-09 06:38:12 +01:00
|
|
|
./hosts/local/tyr/default.nix
|
|
|
|
./hosts/local/tyr/hardware-configuration.nix
|
|
|
|
./hosts/local/tyr/packages.nix
|
|
|
|
|
2023-03-19 22:25:46 +01:00
|
|
|
# User Specific
|
2023-04-02 22:21:22 +02:00
|
|
|
./users/leeuwarden/gnomekeyring.nix
|
2023-02-09 06:38:12 +01:00
|
|
|
./users/leeuwarden/home-manager.nix
|
|
|
|
./users/leeuwarden/syncthing.nix
|
|
|
|
|
2023-01-31 21:58:01 +01:00
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
{
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
2023-02-01 02:35:00 +01:00
|
|
|
home-manager.users.leeuwarden = import ./hosts/local/tyr/home.nix;
|
2022-11-15 13:45:19 +01:00
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
2023-01-24 21:51:35 +01:00
|
|
|
|
2023-02-01 01:01:03 +01:00
|
|
|
tuisto = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
2023-02-09 06:38:12 +01:00
|
|
|
|
2023-03-19 22:25:46 +01:00
|
|
|
# Common Resources
|
2023-02-12 16:47:49 +01:00
|
|
|
|
2023-03-19 22:25:46 +01:00
|
|
|
# Desktop
|
2023-02-12 17:06:56 +01:00
|
|
|
./desktop/gnome.nix
|
|
|
|
./display/gdm.nix
|
|
|
|
#./desktop/kde.nix
|
|
|
|
#./display/sddm.nix
|
2023-03-19 03:17:33 +01:00
|
|
|
#./desktop/hyprland.nix
|
2023-02-12 16:47:49 +01:00
|
|
|
|
2023-03-19 22:25:46 +01:00
|
|
|
# Kernels & RAM
|
2023-03-03 13:56:19 +01:00
|
|
|
#./common/kernel.zen.nix
|
2023-03-13 16:13:07 +01:00
|
|
|
#./commmon/swappiness
|
2023-03-03 13:56:19 +01:00
|
|
|
|
2023-09-14 18:56:52 +02:00
|
|
|
# Common
|
2023-02-09 06:38:12 +01:00
|
|
|
./common/amd.nix
|
2023-03-13 19:26:12 +01:00
|
|
|
#./common/bluetooth.nix
|
2023-02-09 06:38:12 +01:00
|
|
|
./common/CUPS.nix
|
2023-09-14 18:56:52 +02:00
|
|
|
#./common/hyprland.nix
|
2023-02-09 06:38:12 +01:00
|
|
|
./common/pipewire.nix
|
|
|
|
./common/time.nix
|
|
|
|
./common/docker.nix
|
|
|
|
./common/flakeinit.nix
|
|
|
|
./common/flatpak.nix
|
|
|
|
./common/gaming.nix
|
|
|
|
./common/insecure.nix
|
|
|
|
./common/networking.nix
|
2023-09-14 18:56:52 +02:00
|
|
|
./common/terminal.nix
|
2023-02-09 06:38:12 +01:00
|
|
|
./common/unfree.nix
|
2023-03-21 00:56:39 +01:00
|
|
|
./common/waydroid.nix
|
2023-02-09 06:38:12 +01:00
|
|
|
./common/x11.nix
|
|
|
|
|
2023-03-19 22:25:46 +01:00
|
|
|
# Host Specific
|
2023-02-25 17:52:19 +01:00
|
|
|
./hosts/remote/tuisto/default.nix
|
|
|
|
./hosts/remote/tuisto/hardware-configuration.nix
|
|
|
|
./hosts/remote/tuisto/packages.nix
|
2023-02-09 06:38:12 +01:00
|
|
|
|
2023-03-19 22:25:46 +01:00
|
|
|
# User Specific
|
2023-02-25 17:52:19 +01:00
|
|
|
./users/admin/home-manager.nix
|
2023-02-25 18:29:24 +01:00
|
|
|
#./users/admin/hd.nix
|
|
|
|
#./users/admin/syncthing.nix
|
2023-02-09 06:38:12 +01:00
|
|
|
|
2023-02-01 01:01:03 +01:00
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
{
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
2023-02-25 17:52:19 +01:00
|
|
|
home-manager.users.admin = import ./hosts/remote/tuisto/home.nix;
|
2023-02-01 01:01:03 +01:00
|
|
|
}
|
2023-02-19 21:50:22 +01:00
|
|
|
|
2023-03-21 00:10:22 +01:00
|
|
|
#hyprland.nixosModules.default
|
|
|
|
#{programs.hyprland.enable = true;}
|
2023-02-01 01:01:03 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2023-02-08 14:11:54 +01:00
|
|
|
weda = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
|
|
|
|
2023-03-19 22:25:46 +01:00
|
|
|
# Common Resources
|
2023-02-12 16:47:49 +01:00
|
|
|
|
2023-03-19 22:25:46 +01:00
|
|
|
# Desktop
|
2023-02-12 17:06:56 +01:00
|
|
|
./desktop/gnome.nix
|
|
|
|
./display/gdm.nix
|
|
|
|
#./desktop/kde.nix
|
|
|
|
#./display/sddm.nix
|
2023-03-19 03:17:33 +01:00
|
|
|
#./desktop/hyprland.nix
|
2023-02-12 16:47:49 +01:00
|
|
|
|
2023-03-19 22:25:46 +01:00
|
|
|
# Kernels & RAM
|
2023-03-03 13:56:19 +01:00
|
|
|
#./common/kernel.zen.nix
|
2023-03-13 16:13:07 +01:00
|
|
|
#./commmon/swappiness
|
2023-03-03 13:56:19 +01:00
|
|
|
|
2023-09-14 18:56:52 +02:00
|
|
|
# Common
|
2023-02-08 14:11:54 +01:00
|
|
|
./common/amd.nix
|
2023-03-13 19:26:12 +01:00
|
|
|
./common/bluetooth.nix
|
2023-02-08 14:11:54 +01:00
|
|
|
./common/CUPS.nix
|
2023-09-14 18:56:52 +02:00
|
|
|
#./common/hyprland.nix
|
2023-02-08 14:11:54 +01:00
|
|
|
./common/pipewire.nix
|
|
|
|
./common/time.nix
|
|
|
|
./common/docker.nix
|
|
|
|
./common/flakeinit.nix
|
|
|
|
./common/flatpak.nix
|
|
|
|
./common/gaming.nix
|
|
|
|
./common/insecure.nix
|
|
|
|
./common/networking.nix
|
2023-09-14 18:56:52 +02:00
|
|
|
./common/terminal.nix
|
2023-02-08 14:11:54 +01:00
|
|
|
./common/unfree.nix
|
|
|
|
./common/waydroid.nix
|
|
|
|
./common/x11.nix
|
|
|
|
|
2023-03-19 22:25:46 +01:00
|
|
|
# Host Specific
|
2023-03-02 14:10:27 +01:00
|
|
|
./hosts/local/weda/default.nix
|
2023-02-08 14:11:54 +01:00
|
|
|
./hosts/local/weda/hardware-configuration.nix
|
|
|
|
./hosts/local/weda/packages.nix
|
|
|
|
|
2023-03-19 22:25:46 +01:00
|
|
|
# User Specific
|
2023-02-09 06:38:12 +01:00
|
|
|
./users/zonsopkomst/home-manager.nix
|
|
|
|
./users/zonsopkomst/syncthing.nix
|
2023-02-08 14:11:54 +01:00
|
|
|
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
{
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.zonsopkomst = import ./hosts/local/weda/home.nix;
|
|
|
|
}
|
|
|
|
|
2023-02-19 21:50:22 +01:00
|
|
|
hyprland.nixosModules.default
|
|
|
|
{programs.hyprland.enable = true;}
|
2023-02-08 14:11:54 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2022-11-15 13:45:19 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|