mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2024-11-25 01:08:50 +01:00
several laptop changes
This commit is contained in:
parent
407a1efef2
commit
dd07894096
6 changed files with 27 additions and 31 deletions
|
@ -16,27 +16,6 @@
|
||||||
isGraphical = true;
|
isGraphical = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
home.pointerCursor = {
|
|
||||||
name = "Bibata-Modern-Classic";
|
|
||||||
package = pkgs.bibata-cursors;
|
|
||||||
size = 28;
|
|
||||||
};
|
|
||||||
|
|
||||||
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
|
|
||||||
];
|
|
||||||
*/
|
|
||||||
};
|
|
||||||
|
|
||||||
home.sessionVariables = { LD_LIBRARY_PATH = "${pkgs.libGL}/lib"; };
|
home.sessionVariables = { LD_LIBRARY_PATH = "${pkgs.libGL}/lib"; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
};
|
};
|
||||||
|
boot.plymouth.enable = true;
|
||||||
|
|
||||||
# Setup keyfile
|
# Setup keyfile
|
||||||
boot.initrd.secrets = { "/crypto_keyfile.bin" = null; };
|
boot.initrd.secrets = { "/crypto_keyfile.bin" = null; };
|
||||||
|
@ -71,5 +72,13 @@
|
||||||
"nix-2.16.2"
|
"nix-2.16.2"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
extraPortals = [
|
||||||
|
pkgs.kdePackages.xdg-desktop-portal-kde
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
system.stateVersion = "23.05";
|
system.stateVersion = "23.05";
|
||||||
}
|
}
|
||||||
|
|
12
flake.lock
12
flake.lock
|
@ -93,11 +93,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1711625603,
|
"lastModified": 1712016346,
|
||||||
"narHash": "sha256-W+9dfqA9bqUIBV5u7jaIARAzMe3kTq/Hp2SpSVXKRQw=",
|
"narHash": "sha256-O2nO7pD+krq+4HgkLB4VThRtAucIPfXDs/jJqCGlK1w=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "c0ef0dab55611c676ad7539bf4e41b3ec6fa87d2",
|
"rev": "4be0464472675212654dedf3e021bd5f1d58b92f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -281,11 +281,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1711523803,
|
"lastModified": 1711703276,
|
||||||
"narHash": "sha256-UKcYiHWHQynzj6CN/vTcix4yd1eCu1uFdsuarupdCQQ=",
|
"narHash": "sha256-iMUFArF0WCatKK6RzfUJknjem0H9m4KgorO/p3Dopkk=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "2726f127c15a4cc9810843b96cad73c7eb39e443",
|
"rev": "d8fe5e6c92d0d190646fb9f1056741a229980089",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -118,6 +118,8 @@ in {
|
||||||
yabridge
|
yabridge
|
||||||
inputs.suyu.packages.x86_64-linux.suyu
|
inputs.suyu.packages.x86_64-linux.suyu
|
||||||
inputs.nix-alien.packages.x86_64-linux.nix-alien
|
inputs.nix-alien.packages.x86_64-linux.nix-alien
|
||||||
|
kdePackages.kdenlive
|
||||||
|
audacity
|
||||||
] else
|
] else
|
||||||
[ ]) ++ (if config.machine.isGnome then [
|
[ ]) ++ (if config.machine.isGnome then [
|
||||||
gnomeExtensions.blur-my-shell
|
gnomeExtensions.blur-my-shell
|
||||||
|
|
|
@ -22,14 +22,12 @@ let
|
||||||
isEnabled = if config.machine.isGraphical then true else false;
|
isEnabled = if config.machine.isGraphical then true else false;
|
||||||
dictionaries = with pkgs.hunspellDictsChromium; [ en_US de_DE ];
|
dictionaries = with pkgs.hunspellDictsChromium; [ en_US de_DE ];
|
||||||
commandLineArgs = [
|
commandLineArgs = [
|
||||||
|
"--enable-wayland-ime"
|
||||||
"--ignore-gpu-blocklist"
|
"--ignore-gpu-blocklist"
|
||||||
"--enable-gpu-rasterization"
|
"--enable-gpu-rasterization"
|
||||||
"--enable-zero-copy"
|
"--enable-zero-copy"
|
||||||
"--enable-features=VaapiVideoDecoder,VaapiVideoEncoder,WebRTCPipeWireCapturer"
|
|
||||||
"--disable-features=UseChromeOSDirectVideoDecoder"
|
"--disable-features=UseChromeOSDirectVideoDecoder"
|
||||||
"--use-vulkan"
|
"--enable-features=WaylandWindowDecorations,VaapiVideoDecoder,VaapiVideoEncoder,VaapiVideoDecodeLinuxGL,WebRTCPipeWireCapturer"
|
||||||
"--ozone-platform-hint=auto"
|
|
||||||
"--enable-hardware-overlays"
|
|
||||||
];
|
];
|
||||||
extensions = map (eid: { id = eid; }) chromium_extension;
|
extensions = map (eid: { id = eid; }) chromium_extension;
|
||||||
in {
|
in {
|
||||||
|
|
|
@ -73,6 +73,9 @@
|
||||||
zsh.enable = true;
|
zsh.enable = true;
|
||||||
adb.enable = true;
|
adb.enable = true;
|
||||||
noisetorch.enable = true;
|
noisetorch.enable = true;
|
||||||
|
dconf = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ git zsh kitty steamtinkerlaunch ];
|
environment.systemPackages = with pkgs; [ git zsh kitty steamtinkerlaunch ];
|
||||||
|
@ -98,6 +101,11 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.mullvad-vpn;
|
package = pkgs.mullvad-vpn;
|
||||||
};
|
};
|
||||||
|
dbus = {
|
||||||
|
enable = true;
|
||||||
|
packages = [ pkgs.dconf ];
|
||||||
|
};
|
||||||
|
bamf.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
|
|
Loading…
Reference in a new issue