Compare commits
2 commits
74a438777c
...
04cfebada4
| Author | SHA1 | Date | |
|---|---|---|---|
| 04cfebada4 | |||
| 476e5dc69b |
5 changed files with 52 additions and 32 deletions
|
|
@ -24,6 +24,8 @@
|
|||
sops.enable = true;
|
||||
mpv.enable = true;
|
||||
atuin.enable = true;
|
||||
obs.enable = true;
|
||||
chromium.enable = true;
|
||||
};
|
||||
|
||||
david = {
|
||||
|
|
@ -36,13 +38,6 @@
|
|||
home.homeDirectory = "/home/${unixName}";
|
||||
home.stateVersion = "24.11";
|
||||
programs.home-manager.enable = true;
|
||||
programs.obs-studio = {
|
||||
enable = true;
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
obs-source-record
|
||||
input-overlay
|
||||
];
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
tealdeer
|
||||
|
|
@ -74,13 +69,4 @@
|
|||
viu
|
||||
just
|
||||
];
|
||||
|
||||
programs.chromium = {
|
||||
enable = true;
|
||||
commandLineArgs = [
|
||||
"--ozone-platform=wayland"
|
||||
"--enable-wayland-ime=true"
|
||||
"--enable-features=UseOzonePlatform"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,6 +33,8 @@
|
|||
kvm.enable = true;
|
||||
atuin.enable = true;
|
||||
thunderbird.enable = true;
|
||||
obs.enable = true;
|
||||
chromium.enable = true;
|
||||
};
|
||||
|
||||
david = {
|
||||
|
|
@ -45,13 +47,6 @@
|
|||
home.homeDirectory = "/home/${unixName}";
|
||||
home.stateVersion = "24.11";
|
||||
programs.home-manager.enable = true;
|
||||
programs.obs-studio = {
|
||||
enable = true;
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
obs-source-record
|
||||
input-overlay
|
||||
];
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
tealdeer
|
||||
ripgrep
|
||||
|
|
@ -82,13 +77,4 @@
|
|||
viu
|
||||
just
|
||||
];
|
||||
|
||||
programs.chromium = {
|
||||
enable = true;
|
||||
commandLineArgs = [
|
||||
"--ozone-platform=wayland"
|
||||
"--enable-wayland-ime=true"
|
||||
"--enable-features=UseOzonePlatform"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
21
home/modules/chromium.nix
Normal file
21
home/modules/chromium.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ lib, config, ... }:
|
||||
let
|
||||
cfg = config.youthlic.programs.chromium;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
youthlic.programs.chromium = {
|
||||
enable = lib.mkEnableOption "chromium";
|
||||
};
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.chromium = {
|
||||
enable = true;
|
||||
commandLineArgs = [
|
||||
"--ozone-platform=wayland"
|
||||
"--enable-wayland-ime=true"
|
||||
"--enable-features=UseOzonePlatform"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -11,6 +11,7 @@
|
|||
++ [
|
||||
./nix.nix
|
||||
./helix
|
||||
./chromium.nix
|
||||
./gpg
|
||||
./git.nix
|
||||
./shell
|
||||
|
|
@ -29,6 +30,7 @@
|
|||
./swaync.nix
|
||||
./swaylock.nix
|
||||
./thunderbird.nix
|
||||
./obs.nix
|
||||
];
|
||||
|
||||
options = {
|
||||
|
|
|
|||
25
home/modules/obs.nix
Normal file
25
home/modules/obs.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.youthlic.programs.obs;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
youthlic.programs.obs = {
|
||||
enable = lib.mkEnableOption "obs";
|
||||
};
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.obs-studio = {
|
||||
enable = true;
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
obs-source-record
|
||||
input-overlay
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue