Use specialisation to switch themes on NixOS
This commit is contained in:
parent
b94e030619
commit
6b00a19d0c
3 changed files with 18 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, config, ... }:
|
||||
{ pkgs, lib, config, ... }:
|
||||
{
|
||||
imports = [
|
||||
<home-manager/nixos>
|
||||
|
@ -32,6 +32,12 @@
|
|||
useGlobalPkgs = true;
|
||||
};
|
||||
|
||||
specialisation = {
|
||||
dark.configuration.frogeye.polarity = "dark";
|
||||
light.configuration.frogeye.polarity = "light";
|
||||
};
|
||||
|
||||
|
||||
# Because everything is encrypted and I'm the only user, this is fine.
|
||||
services.xserver.displayManager.autoLogin.user = "geoffrey";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue