When you want to just pin a single application that is referenced only in a single module, you can do it like above.
Search the application you want to pin on
When you want to just pin a single application that is referenced only in a single module, you can do it like above.
Search the application you want to pin on
| { | |
| hardware.streamdeck.enable = true; | |
| hardware.streamdeck.deck = ./path/to/deck.toml; | |
| } |
Build environment variables on the values of other variables
Expose introspection information to pod
| { pkgs, ... }: | |
| let | |
| patchelfFixes = pkgs.patchelfUnstable.overrideAttrs (_finalAttrs: _previousAttrs: { | |
| src = pkgs.fetchFromGitHub { | |
| owner = "Patryk27"; | |
| repo = "patchelf"; | |
| rev = "527926dd9d7f1468aa12f56afe6dcc976941fedb"; | |
| sha256 = "sha256-3I089F2kgGMidR4hntxz5CKzZh5xoiUwUsUwLFUEXqE="; | |
| }; | |
| }); |
| { config, pkgs, ...}: | |
| { | |
| imports = | |
| [ | |
| (import ./modules/testparam.nix { name = "beautifulname"; }) | |
| ]; | |
| } |
| { | |
| description = "A very basic flake"; | |
| inputs = { | |
| nixgl.url = "github:guibou/nixGL"; | |
| nixpkgs.url = "nixpkgs/release-22.11"; | |
| }; | |
| outputs = { nixgl, nixpkgs, ... }: | |
| let | |
| glpkgs = import nixpkgs { | |
| system = "x86_64-linux"; |
This NixOS code ensures that the system provide version-specific $LOCALE_ARCHIVE
environment variables to mitigate the effects of
NixOS/nixpkgs#38991.
To deploy it, copy the file into your /etc/nixos folder using a file name
like multi-glibc-locale-paths.nix. Then edit your configuration.nix file to
contain the attribute:
imports = [ ./multi-glibc-locale-paths.nix ];
| # Full NixOS configuration for a ZFS server with full disk encryption hosted on Hetzner. | |
| # See <https://mazzo.li/posts/hetzner-zfs.html> for more information. | |
| { config, pkgs, ... }: | |
| let | |
| # Deployment-specific parameters -- you need to fill these in where the ... are | |
| hostName = "..."; | |
| publicKey = "..."; | |
| # From `ls -lh /dev/disk/by-id` |
| require 'webrick' | |
| require 'fileutils' | |
| if ARGV.length != 0 | |
| root = ARGV.first.gsub('\\', '/') | |
| else | |
| root = '.' | |
| end | |
| BACKUP_DIR = 'bak' |
cribbed from http://pastebin.com/xgzeAmBn
Templates to remind you of the options and formatting for the different types of objects you might want to document using YARD.