mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2025-06-13 16:14:35 +02:00
restructured config directory
This commit is contained in:
parent
0ea46ec3a4
commit
e615e06990
43 changed files with 583 additions and 0 deletions
home-manager/machines
18
home-manager/machines/desktop.nix
Normal file
18
home-manager/machines/desktop.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./../modules/machine.nix
|
||||
];
|
||||
|
||||
machine = {
|
||||
username = "thilo";
|
||||
isGeneric = false;
|
||||
isGnome = false;
|
||||
noiseSuppression.enable = true;
|
||||
isGraphical = true;
|
||||
};
|
||||
|
||||
services.kdeconnect.enable = true;
|
||||
services.kdeconnect.indicator = true;
|
||||
}
|
20
home-manager/machines/fedora.nix
Normal file
20
home-manager/machines/fedora.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
chromeArgs = lib.strings.concatStringsSep " " [
|
||||
"--force-dark-mode"
|
||||
"--enable-features=WebUIDarkMode"
|
||||
"--enable-smooth-scrolling"
|
||||
"--ozone-platform-hint=auto"
|
||||
"--ignore-gpu-blocklist"
|
||||
"--enable-gpu-rasterization"
|
||||
"--enable-zero-copy"
|
||||
"--force-device-scale-factor=1.0"
|
||||
];
|
||||
nixGLWrap = import ./../utils/nixGLWrap.nix { inherit pkgs lib; };
|
||||
in {
|
||||
imports = [
|
||||
./common.nix
|
||||
./../wrappers/fedora.nix
|
||||
];
|
||||
}
|
41
home-manager/machines/laptop.nix
Normal file
41
home-manager/machines/laptop.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./../modules/machine.nix
|
||||
];
|
||||
|
||||
machine = {
|
||||
username = "thilo";
|
||||
isGeneric = false;
|
||||
nixPackage = pkgs.nixUnstable;
|
||||
isGnome = false;
|
||||
noiseSuppression.enable = true;
|
||||
isGraphical = true;
|
||||
};
|
||||
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
config = rec {
|
||||
modifier = "Mod4";
|
||||
# Use kitty as default terminal
|
||||
terminal = "alacritty";
|
||||
bars = [];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
programs.obs-studio = {
|
||||
enable = true;
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
obs-vaapi
|
||||
obs-teleport
|
||||
droidcam-obs
|
||||
obs-gstreamer
|
||||
obs-shaderfilter
|
||||
obs-command-source
|
||||
obs-move-transition
|
||||
advanced-scene-switcher
|
||||
];
|
||||
};
|
||||
}
|
16
home-manager/machines/wsl.nix
Normal file
16
home-manager/machines/wsl.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./../modules/machine.nix
|
||||
];
|
||||
|
||||
machine = {
|
||||
username = "thilo";
|
||||
isGeneric = true;
|
||||
nixPackage = pkgs.nixUnstable;
|
||||
isGnome = false;
|
||||
noiseSuppression.enable = false;
|
||||
isGraphical = false;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue