Installation
With flakes
{
inputs.snenslock.url = "git+https://git.mbosch.me/ma27/snenslock?shallow=true";
inputs.snenslock.inputs.nixpkgs.follows = "nixpkgs";
outputs = { self, nixpkgs, snenslock, ... }: {
nixosConfigurations.yourmachine = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
snenslock.nixosModules.snenslock
{
programs.snenslock = {
enable = true;
greeter = "tui";
};
}
];
};
};
}
Additional config options can be found in flake.nix
or in the options' reference
Without flakes
Note: it's highly recommended to specify a revision here and not to
always fetch latest master
.
{
imports = [
(import (builtins.fetchGit {
url = "https://git.mbosch.me/ma27/snenslock";
shallow = true;
ref = "master";
})).nixosModules.snenslock
];
programs.snenslock.enable = true;
}
Binary cache
The flake is regularly built on my personal Hydra, the binary cache can be used to substitute
prebuilt artifacts of snenslock
. All output paths are signed with the following key:
hydra.ist.nicht-so.sexy-1:E+AwZnzYPdycs1IkHrlG0eJeBleAW/ukX10lcjTc2RQ=