Skip to content

Commit

Permalink
hyprland to plasma transition
Browse files Browse the repository at this point in the history
+ some random config corrections
  • Loading branch information
Octelly committed Jul 11, 2024
1 parent 4f32f9c commit bd48fde
Show file tree
Hide file tree
Showing 7 changed files with 98 additions and 31 deletions.
27 changes: 27 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
plasma-manager = {
url = "github:pjones/plasma-manager";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home";
};
nixHW.url = "github:nixos/nixos-hardware/master";
f2k = {
url = "github:moni-dz/nixpkgs-f2k";
Expand Down
16 changes: 8 additions & 8 deletions hosts/ocean-t460/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
};
};
networking.firewall.allowedTCPPorts = [ 25565 ];
nix.buildMachines = [{
hostName = "192.168.1.137";
system = "x86_64-linux";
}];
nix.distributedBuilds = true;
#nix.buildMachines = [{
# hostName = "192.168.1.137";
# system = "x86_64-linux";
#}];
#nix.distributedBuilds = true;

nix.extraOptions = ''
builders-use-substitutes = true
'';
#nix.extraOptions = ''
# builders-use-substitutes = true
#'';

#services.desktopManager.cosmic.enable = true;
}
10 changes: 10 additions & 0 deletions hosts/shared/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,25 @@

environment = {
systemPackages = with pkgs; [
aha # Required for "Firmware Security" page of KDE's Info Center
clinfo # Required for "OpenCL" page of KDE's Info Center
cmake
coreutils
curl
fd
gcc
git
glxinfo # Required for "OpenGL (GLX)" page of KDE's Info Center
libnotify
lm_sensors
man-pages
pciutils
ripgrep
unrar
unzip
virtualglLib # Required for "OpenGL (EGL)" page of KDE's Info Center
vulkan-tools # Required for "Vulkan" page of KDE's Info Center
wayland-utils # Required for "Wayland" page of KDE's Info Center
wget
xclip
zip
Expand Down Expand Up @@ -84,6 +90,8 @@

services = {
dbus.enable = true;
fwupd.enable = true; # Required for "Firmware Security" page of KDE's Info Center

openssh.enable = true;
xl2tpd.enable = true;
strongswan = {
Expand All @@ -102,6 +110,8 @@
# whether shared printers are advertised
browsing = true;
};

desktopManager.plasma6.enable = true;
};

hardware.logitech.wireless = {
Expand Down
2 changes: 1 addition & 1 deletion modules/desktop/gaming/steam.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ in {
sessionVariables.STEAM_EXTRA_COMPAT_TOOLS_PATHS = "\${HOME}/.steam/root/compatibilitytools.d";

systemPackages = with pkgs; [
protonup
protonup-qt
];
};
};
Expand Down
10 changes: 6 additions & 4 deletions modules/users.nix
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,7 @@ in
};
octelly = {
desc = "Eli Štefků";
modules = [
inputs.hyprland.homeManagerModules.default
inputs.anyrun.homeManagerModules.default
];
modules = [ ];
fc = {
# `fonts` takes a list of packages
fonts = with pkgs; [
Expand All @@ -129,6 +126,11 @@ in
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = { inherit inputs system; };
sharedModules = [
inputs.anyrun.homeManagerModules.default
inputs.hyprland.homeManagerModules.default
inputs.plasma-manager.homeManagerModules.plasma-manager
];
users = homeCfg;
};

Expand Down
59 changes: 41 additions & 18 deletions users/octelly/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ let
#});
firefoxMainProfileName = "main";
in
{
rec {
home = {
packages = with pkgs; [
#warble
Expand Down Expand Up @@ -134,6 +134,9 @@ in
# ];
#})

jellyfin-media-player
moonlight-qt


networkmanagerapplet
networkmanager-l2tp
Expand All @@ -153,6 +156,8 @@ in
mangohud
#tmuf

krdc

# flameshot and dependencies
flameshot
grim
Expand Down Expand Up @@ -379,10 +384,22 @@ in
#services.gvfs.enable = true;
#services.tumbler.enable = true;

services.swayosd = {
enable = true;
#services.swayosd = {
# enable = true;
#};

programs.plasma = {
#enable = true;
workspace = {
iconTheme = gtk.iconTheme.name;
cursorTheme = gtk.cursorTheme.name;

clickItemTo = "select";
};
};

services.kdeconnect.enable = true;

programs.vscode = {
enable = true;
extensions = (with pkgs.open-vsx; [
Expand Down Expand Up @@ -421,16 +438,20 @@ in
]);
userSettings = {
# Vim controls
"extensions.experimental.affinity" = {
"asvetliakov.vscode-neovim" = 1;
};
#"extensions.experimental.affinity" = {
# "asvetliakov.vscode-neovim" = 1;
#};

# theming
"workbench.preferredDarkColorTheme" = "Sonokai Shusia";
"workbench.colorTheme" = "Sonokai Shusia";
"workbench.iconTheme" = "material-icon-theme";
"material-icon-theme.folder.color" = "#e5c463";

"window.menuBarVisibility" = "toggle";
"window.autoDetectColorScheme" = true;
"window.titleBarStyle" = "custom";
"window.customTitleBarVisibility" = "auto";

"editor.fontFamily" = "'Maple Mono NF', 'Cartograph CF', 'FiraCode Nerd Font Mono', 'monospace', monospace";
"debug.console.fontFamily" = "'Maple Mono NF', 'Cartograph CF', 'FiraCode Nerd Font Mono', 'monospace', monospace";
Expand Down Expand Up @@ -652,22 +673,24 @@ in
gtk-application-prefer-dark-theme = darkMode;
};

gtk.iconTheme.name = if darkMode then "Colloid-pink-default-dark" else "Colloid-pink-default-light";
gtk.iconTheme.package =
(pkgs.colloid-icon-theme.override {
schemeVariants = [ "default" ];
colorVariants = [ "pink" ];
});
#gtk.iconTheme.name = if darkMode then "Colloid-pink-default-dark" else "Colloid-pink-default-light";
#gtk.iconTheme.package =
# (pkgs.colloid-icon-theme.override {
# schemeVariants = [ "default" ];
# colorVariants = [ "pink" ];
# });
gtk.iconTheme.name = if darkMode then "kora" else "kora-light-panel";
gtk.iconTheme.package = pkgs.kora-icon-theme;

gtk.cursorTheme.name = "Posy_Cursor_Black";
gtk.cursorTheme.package = posysCursors;

#qt.enable = true;
##qt.platformTheme = "gnome";
#qt.platformTheme = "qtct";
#qt.style.name = "kvantum";
##qt.style.package = pkgs.adwaita-qt;
##qt.style.name = if darkMode then "adwaita-dark" else "adwaita";
qt.enable = true;
#qt.platformTheme = "gnome";
qt.platformTheme.name = "qtct";
qt.style.name = "kvantum";
#qt.style.package = pkgs.adwaita-qt;
#qt.style.name = if darkMode then "adwaita-dark" else "adwaita";

xresources.properties = {
# 96 is 1x
Expand Down

0 comments on commit bd48fde

Please sign in to comment.