Giter Club home page Giter Club logo

Comments (6)

w4 avatar w4 commented on September 24, 2024 11

Just in case anyone stumbles across this issue, changing your SDDM theme is pretty easy in NixOS, just point it to the path of the theme:

services.xserver.displayManager.sddm.theme = "${(pkgs.fetchFromGitHub {
    owner = "MarianArlt";
    repo = "kde-plasma-chili";
    rev = "a371123959676f608f01421398f7400a2f01ae06";
    sha256 = "17pkxpk4lfgm14yfwg6rw6zrkdpxilzv90s48s2hsicgl3vmyr3x";
})}";

sddm-kcm doesn't work without making your Nix store writable, which is the wrong solution to any Nix-related issue :P

from kde-plasma-chili.

MarianArlt avatar MarianArlt commented on September 24, 2024 1

Please refer to the README. The safest way to install this theme is to use the system settings. This requires the sddm-kcm package to be installed (system settings configuration module for SDDM). For NixOS you can install the package with nix-env -i sddm-kcm
If you don't want to install extra packages (sddm-kcm is really small...) you can manually put the files into place and add the line you mentioned to the configuration, yes.
Hope this helps

from kde-plasma-chili.

colonelpanic8 avatar colonelpanic8 commented on September 24, 2024

@MarianArlt Seems pretty strange that a "nixos" theme doesn't have an easy way to install through configraution.nix. Can you clarify why that is?

from kde-plasma-chili.

MarianArlt avatar MarianArlt commented on September 24, 2024

Yes @IvanMalison I can. When I made this theme I was thinking about a nice swinging name for it and came up with NixOS in my mind (apparently referring to MacOS). I didn't know back then that there was a whole linux distribution called that way. I am actually considering to rename my theme soon since it's a reason for confusion.

from kde-plasma-chili.

billyromanooo avatar billyromanooo commented on September 24, 2024

Just in case anyone stumbles across this issue, changing your SDDM theme is pretty easy in NixOS, just point it to the path of the theme:

services.xserver.displayManager.sddm.theme = "${(pkgs.fetchFromGitHub {
    owner = "MarianArlt";
    repo = "kde-plasma-chili";
    rev = "a371123959676f608f01421398f7400a2f01ae06";
    sha256 = "17pkxpk4lfgm14yfwg6rw6zrkdpxilzv90s48s2hsicgl3vmyr3x";
})}";

sddm-kcm doesn't work without making your Nix store writable, which is the wrong solution to any Nix-related issue :P

You're the best, ive been searching for 7 hours to doit, changing and making something here and there, and the solution turns out really simple.

but one more thing, since its just get all the file and configuration from git, which including the included wallpaper, what if i want to change the wallpaper? how to do it? thank you :)

from kde-plasma-chili.

walseb avatar walseb commented on September 24, 2024

Just in case anyone stumbles across this issue, changing your SDDM theme is pretty easy in NixOS, just point it to the path of the theme:

services.xserver.displayManager.sddm.theme = "${(pkgs.fetchFromGitHub {
    owner = "MarianArlt";
    repo = "kde-plasma-chili";
    rev = "a371123959676f608f01421398f7400a2f01ae06";
    sha256 = "17pkxpk4lfgm14yfwg6rw6zrkdpxilzv90s48s2hsicgl3vmyr3x";
})}";

sddm-kcm doesn't work without making your Nix store writable, which is the wrong solution to any Nix-related issue :P

You're the best, ive been searching for 7 hours to doit, changing and making something here and there, and the solution turns out really simple.

but one more thing, since its just get all the file and configuration from git, which including the included wallpaper, what if i want to change the wallpaper? how to do it? thank you :)

In case you haven't found a solution to this, easiest would probably be to add in the wallpaper during the install phase. Example with another SDDM theme:

{ pkgs }:

let
  imgLink = "https://YOURIMAGELINK/image.png";

  image = pkgs.fetchurl {
    url = imgLink;
    sha256 = "sha256-HrcYriKliK2QN02/2vFK/osFjTT1NamhGKik3tozGU0=";
  };
in
pkgs.stdenv.mkDerivation {
  name = "sddm-theme";
  src = pkgs.fetchFromGitHub {
    owner = "MarianArlt";
    repo = "sddm-sugar-dark";
    rev = "ceb2c455663429be03ba62d9f898c571650ef7fe";
    sha256 = "0153z1kylbhc9d12nxy9vpn0spxgrhgy36wy37pk6ysq7akaqlvy";
  };
  installPhase = ''
    mkdir -p $out
    cp -R ./* $out/
    cd $out/
    rm Background.jpg
    cp -r ${image} $out/Background.jpg
   '';
}

Source: https://github.com/vimjoyer/theming-video/blob/main/README.md

from kde-plasma-chili.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.