Added barrier
This commit is contained in:
parent
be4540cc58
commit
7504fa4f48
@ -3,6 +3,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../modules/home/desktop/hyprland
|
../../modules/home/desktop/hyprland
|
||||||
|
../../modules/home/programs/barrier.nix
|
||||||
../../modules/home/programs/common.nix
|
../../modules/home/programs/common.nix
|
||||||
../../modules/home/programs/firefox.nix
|
../../modules/home/programs/firefox.nix
|
||||||
../../modules/home/programs/kitty.nix
|
../../modules/home/programs/kitty.nix
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
../../modules/system/programs/thunar.nix
|
../../modules/system/programs/thunar.nix
|
||||||
../../modules/system/programs/virtualization.nix
|
../../modules/system/programs/virtualization.nix
|
||||||
../../modules/system/utils/common.nix
|
../../modules/system/utils/common.nix
|
||||||
|
../../modules/system/utils/docker.nix
|
||||||
../../modules/system/utils/fprint.nix
|
../../modules/system/utils/fprint.nix
|
||||||
../../modules/system/utils/garbage-collection.nix
|
../../modules/system/utils/garbage-collection.nix
|
||||||
../../modules/system/utils/locale.nix
|
../../modules/system/utils/locale.nix
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../modules/home/desktop/hyprland
|
../../modules/home/desktop/hyprland
|
||||||
|
../../modules/home/programs/barrier.nix
|
||||||
../../modules/home/programs/common.nix
|
../../modules/home/programs/common.nix
|
||||||
../../modules/home/programs/firefox.nix
|
../../modules/home/programs/firefox.nix
|
||||||
../../modules/home/programs/git.nix
|
../../modules/home/programs/git.nix
|
||||||
|
15
modules/home/programs/barrier.nix
Normal file
15
modules/home/programs/barrier.nix
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{ pkgs, hostName, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.barrier.client =
|
||||||
|
if hostName == "xv-desktop"
|
||||||
|
then {
|
||||||
|
enable = true;
|
||||||
|
}
|
||||||
|
else { enable = false; };
|
||||||
|
|
||||||
|
|
||||||
|
home.packages = if hostName == "xv-laptop" then with pkgs; [
|
||||||
|
barrier
|
||||||
|
] else [];
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user