Add:
virtualisation.libvirtd.enable = true;
and
users.users.<you>.extraGroups = [ "libvirtd" ];
- id: '1704839258272' | |
alias: Auto Office Lights | |
description: '' | |
trigger: | |
- platform: state | |
entity_id: | |
- sensor.auto_kelvin | |
- platform: state | |
entity_id: | |
- binary_sensor.office_occupancy |
{ | |
description = "Home Services"; | |
inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-21.11"; }; | |
outputs = { self, nixpkgs }@attrs: | |
let | |
inherit (nixpkgs.lib) attrsets nixosSystem; | |
# List of hosts available to build. |
package main | |
import ( | |
"net" | |
"net/smtp" | |
) | |
func main() { | |
conn, err := net.Dial("tcp", "localhost:2500") | |
if err != nil { |
{ | |
description = "my nixops & ansible configruation"; | |
inputs = { | |
flake-utils.url = "github:numtide/flake-utils"; | |
hello.url = "github:ihsanturk/hello-world-nix?rev=03ec3abd2def85a97425660a96aa31565cc77821"; | |
nixops-flake.url = "github:input-output-hk/nixops-flake"; | |
}; | |
outputs = { self, nixpkgs, flake-utils, hello, nixops-flake }: |
# These instructions assume you are on https://nixos.org/channels/nixos-18.09 | |
# You will need $HOME/bin in your $PATH to use create-elm-app | |
# Create a empty nix profile | |
nix-env -S /nix/var/nix/profiles/per-user/$USER/elm19-app | |
# Install elm 0.19 | |
nix-env -iA nixos.elmPackages | |
# Keep global node packages in $HOME, will result in bin, lib and node_packages dirs |