Compare commits

..

1 commit

Author SHA1 Message Date
f9de39b758
Add licence (CC0) 2024-11-21 22:37:16 -07:00
5 changed files with 26 additions and 42 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 KiB

View file

@ -2,15 +2,10 @@
# 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, lib, ... }:
{ pkgs, inputs, system, ... }:
{
imports = [
./hardware-configuration.nix
inputs.sddm-sugar-candy-nix.nixosModules.default
];
nixpkgs.overlays = [
inputs.sddm-sugar-candy-nix.overlays.default
];
fileSystems."/mnt/arch" = {
@ -97,6 +92,20 @@
# 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";
@ -204,33 +213,4 @@
# 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": "github"
"type": "gitlab"
},
"original": {
"owner": "Zhaith-Izaliel",
"repo": "sddm-sugar-candy-nix",
"type": "github"
"type": "gitlab"
}
},
"systems": {

View file

@ -11,7 +11,7 @@
};
# SDDM Sugar Candy
sddm-sugar-candy-nix = {
url = "github:Zhaith-Izaliel/sddm-sugar-candy-nix";
url = "gitlab:Zhaith-Izaliel/sddm-sugar-candy-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
# Home Manager + Plasma
@ -49,6 +49,14 @@
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,10 +24,6 @@
format = "git";
};
};
revset-aliases = {
"immutable_heads()" = "builtin_immutable_heads() | main@forgejo";
};
};
};
}