I HATE FLAKES, I HATE FLAKES, I HATE FLAKES
This commit is contained in:
parent
3ac51c3662
commit
1dd3af35f0
8 changed files with 74 additions and 62 deletions
|
|
@ -7,6 +7,7 @@
|
|||
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-25.11.tar.gz";
|
||||
cfg = config.services.forgejo;
|
||||
srv = cfg.settings.server;
|
||||
choose = paths: builtins.head (builtins.filter (p: builtins.pathExists p) paths);
|
||||
in {
|
||||
options.local = {
|
||||
hostname = lib.mkOption {
|
||||
|
|
@ -32,12 +33,12 @@ in {
|
|||
};
|
||||
|
||||
imports = [
|
||||
../desktop-manager/sway_greetd_homemanager.nix
|
||||
../local/hostname_username.nix
|
||||
../local/networking_local.nix
|
||||
../toolsets/remote_building.nix
|
||||
../bootloader/seabios-assigned-proxmox-at-birth.nix
|
||||
../lix-default.nix
|
||||
(choose [ ./modules/desktop-manager/sway_greetd_homemanager.nix ../desktop-manager/sway_greetd_homemanager.nix ])
|
||||
(choose [ ./modules/local/hostname_username.nix ../local/hostname_username.nix ])
|
||||
(choose [ ./modules/local/networking_local.nix ../local/networking_local.nix ])
|
||||
(choose [ ./modules/toolsets/remote_building.nix ../toolsets/remote_building.nix ])
|
||||
(choose [ ./modules/bootloader/seabios-assigned-proxmox-at-birth.nix ../bootloader/seabios-assigned-proxmox-at-birth.nix ])
|
||||
(choose [ ./modules/lix-default.nix ../lix-default.nix ])
|
||||
];
|
||||
|
||||
config = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue