add some link and env
This commit is contained in:
parent
aedfd070b9
commit
1986863848
3 changed files with 11 additions and 6 deletions
|
|
@ -33,6 +33,11 @@
|
||||||
"flakes"
|
"flakes"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
environment.sessionVariables = {
|
||||||
|
PROTON_USE_WAYLAND = "1";
|
||||||
|
PROTON_USE_NTSYNC = "1";
|
||||||
|
};
|
||||||
|
|
||||||
device = {
|
device = {
|
||||||
flake-name = "ideapad-slim-5";
|
flake-name = "ideapad-slim-5";
|
||||||
cursors = "aemeath";
|
cursors = "aemeath";
|
||||||
|
|
@ -69,9 +74,9 @@
|
||||||
|
|
||||||
symlink = {
|
symlink = {
|
||||||
"SteamApps" = ".local/share/Steam/steamapps";
|
"SteamApps" = ".local/share/Steam/steamapps";
|
||||||
"Development/KDE-Widget" = ".local/share/plasma/plasmoids";
|
# "Development/KDE-Widget" = ".local/share/plasma/plasmoids";
|
||||||
"Development/SplashScreen" = ".local/share/plasma/look-and-feel";
|
# "Development/SplashScreen" = ".local/share/plasma/look-and-feel";
|
||||||
"Development/DesktopEffects" = ".local/share/kwin/effects";
|
# "Development/DesktopEffects" = ".local/share/kwin/effects";
|
||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, lib, osconfig, ... }:
|
{ pkgs, lib, osconfig, config, ... }:
|
||||||
{
|
{
|
||||||
home.file = {
|
home.file = {
|
||||||
".config/qt5ct/colors/Catppuccin-Mocha.conf".source = "${pkgs.catppuccin-qt5ct}/share/qt5ct/colors/catppuccin-mocha-sapphire.conf";
|
".config/qt5ct/colors/Catppuccin-Mocha.conf".source = "${pkgs.catppuccin-qt5ct}/share/qt5ct/colors/catppuccin-mocha-sapphire.conf";
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
force = true;
|
force = true;
|
||||||
source = ../../../configs/dolphinrc;
|
source = ../../../configs/dolphinrc;
|
||||||
};
|
};
|
||||||
};
|
} // builtins.mapAttrs (key: path: { source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/${path}"; }) osconfig.device.symlink;
|
||||||
|
|
||||||
xdg.configFile = {
|
xdg.configFile = {
|
||||||
kdeglobals.text = builtins.readFile ((pkgs.catppuccin-kde.override { flavour = ["mocha"]; accents = ["sapphire"]; }) + "/share/color-schemes/CatppuccinMochaSapphire.colors") +
|
kdeglobals.text = builtins.readFile ((pkgs.catppuccin-kde.override { flavour = ["mocha"]; accents = ["sapphire"]; }) + "/share/color-schemes/CatppuccinMochaSapphire.colors") +
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
options.device = {
|
options.device = {
|
||||||
symlink = lib.mkOption {
|
symlink = lib.mkOption {
|
||||||
default = {};
|
default = {};
|
||||||
type = lib.type.attrsOf lib.types.str;
|
type = lib.types.attrsOf lib.types.str;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Reference in a new issue