Compare commits

...

1 commit

Author SHA1 Message Date
66c74e5e21
Fix SDDM sugar candy theme 2024-11-22 00:48:10 -07:00
5 changed files with 42 additions and 26 deletions

BIN
background.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 KiB

View file

@ -2,10 +2,15 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ pkgs, inputs, system, ... }:
{ pkgs, inputs, system, lib, ... }:
{
imports = [
./hardware-configuration.nix
inputs.sddm-sugar-candy-nix.nixosModules.default
];
nixpkgs.overlays = [
inputs.sddm-sugar-candy-nix.overlays.default
];
fileSystems."/mnt/arch" = {
@ -92,20 +97,6 @@
# You can disable this if you're only using the Wayland session.
services.xserver.enable = false;
# KDE + SDDM Configuration
services.desktopManager.plasma6.enable = true;
services.displayManager.sddm = {
enable = true;
wayland.enable = true;
sugarCandyNix = {
enable = true;
settings = {
HeaderText = ":3";
};
};
};
# Configure keymap in X11
services.xserver.xkb = {
layout = "us";
@ -213,4 +204,33 @@
# Enable bluetooth
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
# KDE + SDDM Configuration
services.desktopManager.plasma6 = {
enable = true;
enableQt5Integration = true;
};
services.displayManager.sddm = {
enable = true;
wayland.enable = true;
enableHidpi = true;
package = lib.mkForce pkgs.libsForQt5.sddm;
extraPackages = lib.mkForce [
pkgs.libsForQt5.qtbase
pkgs.libsForQt5.qt5.qtgraphicaleffects
];
sugarCandyNix = {
enable = true;
settings = {
Background = "${pkgs.kdePackages.plasma-workspace-wallpapers}/share/wallpapers/Patak/contents/images_dark/3840x2160.png";
ScreenWidth = 3072;
ScreenHeight = 1920;
FormPosition = "left";
HaveFormBackground = true;
PartialBlur = true;
FontSize = "12";
};
};
};
}

4
flake.lock generated
View file

@ -298,12 +298,12 @@
"owner": "Zhaith-Izaliel",
"repo": "sddm-sugar-candy-nix",
"rev": "35d6fdb4eed20d682e992ae3c6095427e89c2b74",
"type": "gitlab"
"type": "github"
},
"original": {
"owner": "Zhaith-Izaliel",
"repo": "sddm-sugar-candy-nix",
"type": "gitlab"
"type": "github"
}
},
"systems": {

View file

@ -11,7 +11,7 @@
};
# SDDM Sugar Candy
sddm-sugar-candy-nix = {
url = "gitlab:Zhaith-Izaliel/sddm-sugar-candy-nix";
url = "github:Zhaith-Izaliel/sddm-sugar-candy-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
# Home Manager + Plasma
@ -49,14 +49,6 @@
system = "x86_64-linux";
modules = [
sddm-sugar-candy-nix.nixosModules.default
{
nixpkgs = {
overlays = [
sddm-sugar-candy-nix.overlays.default
];
};
}
# Import legacy configuration
./configuration.nix

View file

@ -24,6 +24,10 @@
format = "git";
};
};
revset-aliases = {
"immutable_heads()" = "builtin_immutable_heads() | main@forgejo";
};
};
};
}