mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2024-11-22 07:58:49 +01:00
ported over nixos desktop config
This commit is contained in:
parent
7840268f04
commit
4586a56916
3 changed files with 45 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
||||||
./../programs/bat.nix
|
./../programs/bat.nix
|
||||||
./../programs/beets.nix
|
./../programs/beets.nix
|
||||||
./../programs/command-not-found.nix
|
./../programs/command-not-found.nix
|
||||||
|
./../programs/dircolors.nix
|
||||||
./../programs/direnv.nix
|
./../programs/direnv.nix
|
||||||
./../programs/fzf.nix
|
./../programs/fzf.nix
|
||||||
./../programs/git.nix
|
./../programs/git.nix
|
||||||
|
|
36
machines/desktop.nix
Normal file
36
machines/desktop.nix
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{ 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"
|
||||||
|
"--use-gl=desktop"
|
||||||
|
];
|
||||||
|
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
|
||||||
|
in {
|
||||||
|
imports = [
|
||||||
|
./common.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
news.display = "silent";
|
||||||
|
|
||||||
|
programs.vscode.package = (pkgs.vscode.override {
|
||||||
|
commandLineArgs =
|
||||||
|
"--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --gtk-version=4";
|
||||||
|
});
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
(pkgs.vivaldi.override {
|
||||||
|
proprietaryCodecs = true;
|
||||||
|
enableWidevine = true;
|
||||||
|
commandLineArgs = chromeArgs;
|
||||||
|
})
|
||||||
|
(pkgs.google-chrome.override { commandLineArgs = chromeArgs; })
|
||||||
|
];
|
||||||
|
}
|
8
programs/dircolors.nix
Normal file
8
programs/dircolors.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.dircolors = {
|
||||||
|
enable = true;
|
||||||
|
enableZshIntegration = true;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue