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-02-08 14:11:54 +01:00
|
|
|
# Common Resources
|
2023-02-12 16:47:49 +01:00
|
|
|
|
|
|
|
# Desktop
|
|
|
|
./common/Desktop Manager/gnome.nix
|
|
|
|
./common/Display Manager/gdm.nix
|
2023-02-12 16:49:10 +01:00
|
|
|
#./common/Desktop Manager/kde.nix
|
2023-02-12 16:47:49 +01:00
|
|
|
#./common/Display Manager/sddm.nix
|
|
|
|
#./common/Desktop Manager/hyperland.nix
|
|
|
|
|
|
|
|
# Modules
|
2023-02-07 18:08:47 +01:00
|
|
|
./common/amd.nix
|
|
|
|
./common/CUPS.nix
|
|
|
|
./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-02-08 02:31:44 +01:00
|
|
|
./common/unfree.nix
|
2023-02-07 18:08:47 +01:00
|
|
|
#./common/waydroid.nix
|
|
|
|
./common/x11.nix
|
|
|
|
|
|
|
|
# Host Specific
|
|
|
|
./hosts/local/frija/default.nix
|
|
|
|
./hosts/local/frija/hardware-configuration.nix
|
|
|
|
./hosts/local/frija/packages.nix
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
# Common Resources
|
2023-02-12 16:47:49 +01:00
|
|
|
|
|
|
|
# Desktop
|
|
|
|
#./common/Desktop Manager/gnome.nix
|
|
|
|
#./common/Display Manager/gdm.nix
|
2023-02-12 16:49:10 +01:00
|
|
|
./common/Desktop Manager/kde.nix
|
2023-02-12 16:47:49 +01:00
|
|
|
./common/Display Manager/sddm.nix
|
|
|
|
#./common/Desktop Manager/hyperland.nix
|
|
|
|
|
|
|
|
# Modules
|
2023-02-09 06:38:12 +01:00
|
|
|
#./common/amd.nix
|
|
|
|
./common/CUPS.nix
|
|
|
|
./common/pipewire.nix
|
|
|
|
./common/time.nix
|
|
|
|
./common/docker.nix
|
|
|
|
./common/flakeinit.nix
|
|
|
|
./common/flatpak.nix
|
|
|
|
./common/gaming.nix
|
|
|
|
./common/insecure.nix
|
|
|
|
./common/networking.nix
|
|
|
|
./common/unfree.nix
|
|
|
|
#./common/waydroid.nix
|
|
|
|
./common/x11.nix
|
|
|
|
|
|
|
|
# Host Specific
|
|
|
|
./hosts/local/tyr/default.nix
|
|
|
|
./hosts/local/tyr/hardware-configuration.nix
|
|
|
|
./hosts/local/tyr/packages.nix
|
|
|
|
|
|
|
|
# User Specific
|
|
|
|
./users/leeuwarden/home-manager.nix
|
|
|
|
./users/leeuwarden/kdewallet.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
|
|
|
|
|
|
|
# Common Resources
|
2023-02-12 16:47:49 +01:00
|
|
|
|
|
|
|
# Desktop
|
|
|
|
./common/Desktop Manager/gnome.nix
|
|
|
|
./common/Display Manager/gdm.nix
|
2023-02-12 16:49:10 +01:00
|
|
|
#./common/Desktop Manager/kde.nix
|
2023-02-12 16:47:49 +01:00
|
|
|
#./common/Display Manager/sddm.nix
|
|
|
|
#./common/Desktop Manager/hyperland.nix
|
|
|
|
|
|
|
|
# Modules
|
2023-02-09 06:38:12 +01:00
|
|
|
./common/amd.nix
|
|
|
|
./common/CUPS.nix
|
|
|
|
./common/pipewire.nix
|
|
|
|
./common/time.nix
|
|
|
|
./common/docker.nix
|
|
|
|
./common/flakeinit.nix
|
|
|
|
./common/flatpak.nix
|
|
|
|
./common/gaming.nix
|
|
|
|
./common/insecure.nix
|
|
|
|
./common/networking.nix
|
|
|
|
./common/unfree.nix
|
|
|
|
./common/waydroid.nix
|
|
|
|
./common/x11.nix
|
|
|
|
|
|
|
|
# Host Specific
|
|
|
|
./hosts/local/tuisto/default.nix
|
|
|
|
./hosts/local/tuisto/hardware-configuration.nix
|
|
|
|
./hosts/local/tuisto/packages.nix
|
|
|
|
./users/wagner/home-manager.nix
|
|
|
|
|
|
|
|
# User Specific
|
|
|
|
./users/wagner/syncthing.nix
|
|
|
|
|
2023-02-01 01:01:03 +01:00
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
{
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.wagner = import ./hosts/remote/tuisto/home.nix;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2023-02-08 14:11:54 +01:00
|
|
|
weda = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
|
|
|
|
|
|
|
# Common Resources
|
2023-02-12 16:47:49 +01:00
|
|
|
|
|
|
|
# Desktop
|
|
|
|
./common/Desktop Manager/gnome.nix
|
|
|
|
./common/Display Manager/gdm.nix
|
|
|
|
#./common/Desktop Manager/kde.nix
|
|
|
|
#./common/Display Manager/sddm.nix
|
|
|
|
#./common/Desktop Manager/hyperland.nix
|
|
|
|
|
|
|
|
# Modules
|
2023-02-08 14:11:54 +01:00
|
|
|
./common/amd.nix
|
|
|
|
./common/CUPS.nix
|
|
|
|
./common/pipewire.nix
|
|
|
|
./common/time.nix
|
|
|
|
./common/docker.nix
|
|
|
|
./common/flakeinit.nix
|
|
|
|
./common/flatpak.nix
|
|
|
|
./common/gaming.nix
|
|
|
|
./common/insecure.nix
|
|
|
|
./common/networking.nix
|
|
|
|
./common/unfree.nix
|
|
|
|
./common/waydroid.nix
|
|
|
|
./common/x11.nix
|
|
|
|
|
|
|
|
# Host Specific
|
|
|
|
./hosts/local/weda/default.nix
|
|
|
|
./hosts/local/weda/hardware-configuration.nix
|
|
|
|
./hosts/local/weda/packages.nix
|
|
|
|
|
|
|
|
# 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;
|
|
|
|
}
|
|
|
|
|
|
|
|
hyprland.nixosModules.default
|
|
|
|
{programs.hyprland.enable = true;}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2022-11-15 13:45:19 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|