This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { config, pkgs, ... }: | |
| let | |
| hostname = "myhost"; | |
| backupCfg = | |
| { | |
| enable ? true, | |
| shbOpt ? null, | |
| timerConfig ? { | |
| OnBootSec = "15min"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| pkgs, | |
| lib, | |
| ... | |
| }: | |
| pkgs.testers.runNixOSTest { | |
| name = "app-networkmanager"; | |
| interactive.sshBackdoor.enable = true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| nixpkgs ? fetchTarball { | |
| url = "https://github.com/NixOS/nixpkgs/archive/0590cd39f728e129122770c029970378a79d076a.tar.gz"; | |
| sha256 = "1ia5kjykm9xmrpwbzhbaf4cpwi3yaxr7shl6amj8dajvgbyh2yh4"; | |
| }, | |
| pkgs ? import nixpkgs { | |
| config = { allowUnfree = true; }; | |
| }, | |
| }: | |
| let |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| home-manager.users.${user} = { | |
| imports = [ | |
| ../../modules/kde-serviceMenus.nix | |
| ]; | |
| me.kde.serviceMenus."FFmpeg" = { | |
| mimeTypes = [ "video/*" ]; | |
| actions = { | |
| "remove-sound" = { | |
| name = "Remove Sound"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| lib, | |
| config, | |
| utils, | |
| pkgs, | |
| ... | |
| }: | |
| let | |
| domain = "example.com"; | |
| dcdomain = "dc=example,dc=com"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| callPackage, | |
| python3Packages, | |
| lib, | |
| makeWrapper, | |
| playwright-driver, | |
| }: | |
| let | |
| pytest-playwright-asyncio = | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| nixpkgs ? fetchTarball { | |
| url = "https://github.com/NixOS/nixpkgs/archive/0590cd39f728e129122770c029970378a79d076a.tar.gz"; | |
| sha256 = "1ia5kjykm9xmrpwbzhbaf4cpwi3yaxr7shl6amj8dajvgbyh2yh4"; | |
| }, | |
| pkgs ? import nixpkgs { | |
| config = { allowUnfree = true; }; | |
| }, | |
| }: | |
| let |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (backupCfg { | |
| shbOpt.backup.request = { | |
| user = "root"; | |
| sourceDirectories = [ | |
| "/var/lib/private/lldap" | |
| ]; | |
| }; } "lldap") | |
| (backupCfg {} "vaultwarden") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { config, lib, pkgs, ... }: | |
| let | |
| extract = { source, stdenv }: | |
| stdenv.mkDerivation { | |
| # inherit destination; | |
| name = "extract"; | |
| version = "1.0"; | |
| src = source; | |
| # builder = '' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| installer-test = (nixpkgs.lib.nixosSystem { | |
| system = "x86_64-linux"; | |
| modules = [ | |
| "${nixpkgs}/nixos/modules/virtualisation/qemu-vm.nix" | |
| "${nixpkgs}/nixos/modules/profiles/qemu-guest.nix" | |
| ({ | |
| config, | |
| lib, | |
| pkgs, | |
| ... |
NewerOlder