Enable power profiles and fprintd
This commit is contained in:
parent
31f4464c1e
commit
67ce8f041c
3 changed files with 55 additions and 0 deletions
20
modules/keep.nix
Normal file
20
modules/keep.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
with pkgs;
|
||||||
|
let
|
||||||
|
cmd = "${google-chrome}/bin/google-chrome-stable --app=https://keep.google.com";
|
||||||
|
desktopItem = pkgs.makeDesktopItem
|
||||||
|
{
|
||||||
|
name = "Keep";
|
||||||
|
type = "Application";
|
||||||
|
exec = cmd;
|
||||||
|
icon = "keep";
|
||||||
|
desktopName = "Keep";
|
||||||
|
comment = "Google Keep note app";
|
||||||
|
categories = "Office;";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
home.packages = [
|
||||||
|
desktopItem
|
||||||
|
];
|
||||||
|
}
|
||||||
21
modules/whatsapp.nix
Normal file
21
modules/whatsapp.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
with pkgs;
|
||||||
|
let
|
||||||
|
link = "https://web.whatsapp.com";
|
||||||
|
cmd = "${google-chrome}/bin/google-chrome-stable --app=${link}";
|
||||||
|
desktopItem = pkgs.makeDesktopItem
|
||||||
|
{
|
||||||
|
name = "Whatsapp";
|
||||||
|
type = "Application";
|
||||||
|
exec = cmd;
|
||||||
|
icon = "whatsapp";
|
||||||
|
desktopName = "Whatsapp";
|
||||||
|
comment = "Whatsapp web client";
|
||||||
|
categories = "Office;";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
home.packages = [
|
||||||
|
desktopItem
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
@ -229,9 +229,23 @@
|
||||||
notifications.x11.enable = true;
|
notifications.x11.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# FPRINTD
|
||||||
|
services.fprintd = {
|
||||||
|
enable = true;
|
||||||
|
tod = {
|
||||||
|
enable = true;
|
||||||
|
driver = pkgs.libfprint-2-tod1-goodix;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
security.pam.services.login.fprintAuth = true;
|
||||||
|
security.pam.services.xscreensaver.fprintAuth = true;
|
||||||
|
|
||||||
# Clamav
|
# Clamav
|
||||||
services.clamav = { daemon.enable = true; updater.enable = true; };
|
services.clamav = { daemon.enable = true; updater.enable = true; };
|
||||||
|
|
||||||
|
# Power-profiles
|
||||||
|
services.power-profiles.daemon.enable = true;
|
||||||
|
|
||||||
# Virtualisation
|
# Virtualisation
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
kvmgt.enable = true;
|
kvmgt.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue