KTYONMLWI6LN5YQMH7PXGV4GSHSHQMCUP2KOL5OZ5ZCK7YOJYYMAC
LNDLMQXKTVH725EQKPN4CZ7RQM3CBEKSKRWYT6BRQRYZOMTSI5FAC
6TJTI7RQ5QVCBPW6BKPUL6XUFWUIMXH774UAFCHACDJQWDMPSZNQC
baseModules = overlays: [
baseModules = overlays: system_config: [
home-manager.users.bender = import ./bender/home.nix;
home-manager.users.bender = import ./bender/home.nix system_config;
nixpkgs.overlays = import ./bender/overlays ++ [ overlays ];
nixpkgs.overlays = import ./bender/overlays ++ [overlays] ;
nixosConfigurations.desktop = (nixpkgs.lib.nixosSystem {
nixosConfigurations.desktop = let config = { gui_supported = true; }; in (nixpkgs.lib.nixosSystem {
modules = baseModules self.overlay ++ [ ./system/desktop/configuration.nix ];
modules = (baseModules self.overlay config) ++ [ ./system/desktop/configuration.nix ];
nixosConfigurations.laptop = (nixpkgs.lib.nixosSystem {
nixosConfigurations.laptop = let config = { gui_supported = true; }; in (nixpkgs.lib.nixosSystem {
modules = baseModules self.overlay ++ [ ./system/laptop/configuration.nix ];
modules = (baseModules self.overlay config) ++ [ ./system/laptop/configuration.nix ];
nixosConfigurations.work_vm = (nixpkgs.lib.nixosSystem {
nixosConfigurations.work_vm = let config = {gui_supported = true;}; in (nixpkgs.lib.nixosSystem {
modules = baseModules self.overlay ++ [ ./system/work_vm/configuration.nix ];
modules = (baseModules self.overlay config) ++ [ ./system/work_vm/configuration.nix ];
nixosConfigurations.wireguard_server = (nixpkgs.lib.nixosSystem {
nixosConfigurations.wireguard_server = let config = {gui_supported = false; }; in (nixpkgs.lib.nixosSystem {
modules = baseModules self.overlay ++ [ ./system/wireguard_server/configuration.nix ];
modules = (baseModules self.overlay config) ++ [ ./system/wireguard_server/configuration.nix ];
{ config, lib, pkgs, ... }:
system_config: { config, lib, pkgs, ... }:
# unstable = import <unstable> { configuration = { allowUnfree = true; }; };
] ++ (if user_configuration.gui_support then
] ++ (if system_config.gui_supported then
gui_support = mkOption { type = types.boolean; };
inherit (user_configuration) dots modifier scripts gui_support;
inherit (user_configuration) dots modifier scripts;
gui_support = true;