Compare commits
6 Commits
bb86604348
...
1056568b6c
Author | SHA1 | Date |
---|---|---|
Mateusz Słodkowicz | 1056568b6c | |
Mateusz Słodkowicz | c2f4b59d90 | |
Mateusz Słodkowicz | 1ab225b553 | |
Mateusz Słodkowicz | 4737695b57 | |
Mateusz Słodkowicz | 0a163b6dc0 | |
Mateusz Słodkowicz | badbe9c8d2 |
|
@ -34,6 +34,10 @@ let
|
|||
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.sharedModules = [
|
||||
materusCfg.configInputs.plasma-manager.homeManagerModules.plasma-manager
|
||||
materusCfg.configInputs.sops-nix.homeManagerModules.sops
|
||||
];
|
||||
home-manager.users = (builtins.foldl' (a: b: a // b) { } (builtins.map
|
||||
(user: {
|
||||
${user} = ({ ... }:
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
{ pkgs, materusArg, lib, ... }:
|
||||
{
|
||||
imports = [
|
||||
./plasma.nix
|
||||
];
|
||||
home.stateVersion = "23.05";
|
||||
home.homeDirectory = "/home/materus";
|
||||
|
||||
|
@ -81,7 +84,6 @@
|
|||
};
|
||||
|
||||
home.packages = [
|
||||
pkgs.papirus-icon-theme
|
||||
materusArg.pkgs.ffmpeg_7-amf-full
|
||||
(materusArg.pkgs.polymc-qt5.wrap { extraJDKs = [ pkgs.graalvm-ce ]; extraLibs = [ ]; })
|
||||
pkgs.git-crypt
|
||||
|
@ -106,8 +108,8 @@
|
|||
};
|
||||
|
||||
home.file.".gradle/gradle.properties".text = ''
|
||||
org.gradle.java.installations.fromEnv=JAVA_8_HOME,JAVA_17_HOME,JAVA_21_HOME
|
||||
org.gradle.home=${pkgs.jdk21}
|
||||
org.gradle.java.installations.fromEnv=JAVA_8_HOME,JAVA_17_HOME,JAVA_21_HOME
|
||||
org.gradle.home=${pkgs.jdk21}
|
||||
'';
|
||||
|
||||
xdg.desktopEntries.brave-browser =
|
||||
|
|
|
@ -0,0 +1,124 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.papirus-icon-theme
|
||||
(pkgs.nerdfonts.override { fonts = [ "Hack" ]; })
|
||||
];
|
||||
programs.konsole = {
|
||||
enable = true;
|
||||
profiles = {
|
||||
materus = {
|
||||
colorScheme = "Breeze";
|
||||
font.name = "Hack Nerd Font";
|
||||
extraConfig = {
|
||||
Scrolling = {
|
||||
HistoryMode = 2;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
extraConfig = {
|
||||
KonsoleWindow = {
|
||||
RememberWindowSize = "false";
|
||||
};
|
||||
MainWindow = {
|
||||
MenuBar = "Enabled";
|
||||
};
|
||||
|
||||
"Desktop Entry" = {
|
||||
DefaultProfile = "materus.profile";
|
||||
};
|
||||
};
|
||||
};
|
||||
programs.plasma = {
|
||||
enable = true;
|
||||
overrideConfig = false;
|
||||
|
||||
|
||||
|
||||
workspace = {
|
||||
lookAndFeel = "org.kde.breezedark.desktop";
|
||||
iconTheme = "Papirus-Dark";
|
||||
};
|
||||
|
||||
shortcuts = {
|
||||
"kwin"."Grid View" = "Meta+Alt+Tab";
|
||||
"kwin"."Overview" = "Meta+Tab";
|
||||
};
|
||||
spectacle.shortcuts = {
|
||||
captureActiveWindow = "Meta+Print";
|
||||
captureCurrentMonitor = "Print";
|
||||
captureEntireDesktop = "Shift+Print";
|
||||
captureRectangularRegion = "Meta+S";
|
||||
launchWithoutCapturing = "Meta+Shift+S";
|
||||
launch = "Meta+Alt+S";
|
||||
};
|
||||
|
||||
kwin = {
|
||||
effects = {
|
||||
wobblyWindows.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
input = {
|
||||
keyboard = {
|
||||
options = [ "caps:none" ];
|
||||
};
|
||||
};
|
||||
kscreenlocker = {
|
||||
autoLock = false;
|
||||
};
|
||||
|
||||
panels = [
|
||||
{
|
||||
location = "left";
|
||||
screen = 0;
|
||||
widgets = [
|
||||
{
|
||||
name = "org.kde.plasma.kickerdash";
|
||||
config = {
|
||||
General = {
|
||||
icon = "nix-snowflake-white";
|
||||
alphaSort = true;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
"org.kde.plasma.icontasks"
|
||||
"org.kde.plasma.marginsseparator"
|
||||
"org.kde.plasma.systemtray"
|
||||
{
|
||||
name = "org.kde.plasma.digitalclock";
|
||||
config = {
|
||||
Appearance = {
|
||||
showDate = "false";
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
];
|
||||
configFile = {
|
||||
"kwinrc"."Effect-overview"."BorderActivate" = 9;
|
||||
|
||||
"kcminputrc"."Libinput/9610/46/SINOWEALTH Wired Gaming Mouse"."PointerAccelerationProfile" = 1;
|
||||
"kcminputrc"."Libinput/9610/47/SINOWEALTH 2.4G Wireless Receiver"."PointerAccelerationProfile" = 1;
|
||||
|
||||
"spectaclerc"."ImageSave"."imageFilenameTemplate" = "<yyyy>-<MM>-<dd>.<hh><mm><ss>-<t>.materusPC.<#>";
|
||||
"spectaclerc"."ImageSave"."preferredImageFormat" = "WEBP";
|
||||
"spectaclerc"."ImageSave"."translatedScreenshotsFolder" = "Zrzuty ekranu";
|
||||
"spectaclerc"."VideoSave"."translatedScreencastsFolder" = "Nagranie ekranu";
|
||||
|
||||
"dolphinrc"."General"."RememberOpenedTabs" = false;
|
||||
|
||||
"kwalletrc"."Wallet"."Enabled" = false;
|
||||
|
||||
};
|
||||
dataFile = {
|
||||
"dolphin/view_properties/global/.directory"."Settings"."HiddenFilesShown" = true;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
|
@ -82,7 +82,7 @@ in
|
|||
};
|
||||
|
||||
plasma-manager = {
|
||||
from = { type = "indirect"; id = "git-agecrypt"; };
|
||||
from = { type = "indirect"; id = "plasma-manager"; };
|
||||
flake = materusCfg.configInputs.plasma-manager;
|
||||
};
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@ let
|
|||
(materusFlake.selfPath + "/configurations/shared/home/${username}")
|
||||
(materusFlake.selfPath + "/configurations/host/${host}/home/${username}")
|
||||
profiles.homeProfile
|
||||
materusFlake.nixosConfigurations.${host}.materusCfg.configInputs.sops-nix.homeManagerModules.sops
|
||||
];
|
||||
};
|
||||
}]
|
||||
|
@ -49,6 +48,7 @@ let
|
|||
./${username}
|
||||
profiles.homeProfile
|
||||
materusCfg.configInputs.sops-nix.homeManagerModules.sops
|
||||
materusCfg.configInputs.plasma-manager.homeManagerModules.plasma-manager
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue