NixOS: Sddm, Gtk, QT5 Simple Theming Guide

Sdílet
Vložit
  • čas přidán 28. 07. 2023
  • Discord server: / discord
    all code blocks from the video: github.com/vimjoyer/theming-v...
    Thank you for watching!

Komentáře • 72

  • @BartekBroniszewski
    @BartekBroniszewski Před 10 měsíci +58

    When the time comes and you go through the pearly gates, God will thank you for all the awesome Nix videos you have created.

    • @CarlosVixil
      @CarlosVixil Před 10 měsíci +4

      In Nixjoyer we trust 🙏🏼 🤲🏼

    • @Microphunktv-jb3kj
      @Microphunktv-jb3kj Před 10 měsíci +3

      can this declarative system be done in virtualbox, ori t requires real hardware?
      i find it might be a good way to learn of the linux ecosystem and get to know what packages make up linux systems

    • @CarlosVixil
      @CarlosVixil Před 10 měsíci +1

      @@Microphunktv-jb3kj I'm running one on parallels and on an old macbook. I don't see why it couldn't work on vmware.

  • @Wolf-cj1yz
    @Wolf-cj1yz Před 10 měsíci +17

    This is the most accessible intro to NixOS that I have been able to find, each 10 minute video saves me two days of reading documentation. Please keep these up you're a lifesaver

    • @brainstormsurge154
      @brainstormsurge154 Před měsícem

      I would say that's because the documentation sucks. Look what you have with the Arch wiki vs what Nix has and it's just no contest in terms of ease of entry. I know from firsthand experience.

    • @Wolf-cj1yz
      @Wolf-cj1yz Před měsícem

      @@brainstormsurge154 arch has plenty of issues with accessibility. the arch wiki is great, the nix wiki is also great, both pieces of technology are abstract enough that a visual format is easier to use as learning materials, and arch has a ton of those where nix does not due to popularity (imo)

  • @mdlsvensson
    @mdlsvensson Před 9 měsíci +5

    This wasn't what I was looking for, but your channel seems so awesome that I just subscribe and hit the bell. Please keep making videos!

  • @mawfyy7001
    @mawfyy7001 Před 10 měsíci +3

    DANG, I'm grateful with you, all these videos about nix are gold, thanks

  • @anonymouscommentator
    @anonymouscommentator Před 10 měsíci +1

    this series made me finally switch to nixos! thank you so much!

  • @apsotik
    @apsotik Před 10 měsíci +2

    I was waiting for your video ❤

  • @jdecicco91
    @jdecicco91 Před 10 měsíci +1

    Great video- keep at it dude

  • @sfuentesojeda
    @sfuentesojeda Před 3 měsíci +3

    4:50 you can also use gtk.gtk3.extraCss and gtk.gtk4.extraCss to have the same information (probably use a variable string containing the css for defining the color scheme).
    Something like this:
    let
    gtk-css = "The css in here or @import 'path/to/css' ";
    in
    {
    gtk = {
    enable = true;
    gtk3.extraCss = gtk-css;
    gtk4.extraCss = gtk-css;
    };
    }
    That way is even more reproducible than having to symlink it

  • @unknown-otter
    @unknown-otter Před 10 měsíci +2

    Just supporting your channel with a (regular at this point) comment!

  • @not_lapt
    @not_lapt Před 6 měsíci +3

    Bro, are you Ukrainian? (5:36 for context). You are the reason I'm even considering running NixOS in the first place, and now I realize that you're a fellow Ukrainian (possibly).
    Great content, doing god's work.

  • @StAndrewA
    @StAndrewA Před 10 měsíci +1

    Great video! Thanks

  • @lamprospitsillou6325
    @lamprospitsillou6325 Před 10 měsíci +6

    Incredible video!! Thank you so much, especially for the packaging part ! Since you already packaged it, couldn't you theoretically make a pull request to the nix git repo for everyone to use? Thanks!

    • @vimjoyer
      @vimjoyer  Před 10 měsíci +3

      Yes, but nixpkgs packages also need some metadata.

  • @kayachan5198
    @kayachan5198 Před 4 měsíci +3

    so after watching your other vids im at the point where i can follow this vid and have done everything, set my theme and icons and cursor and its all great, thank you - 1 weird thing though is my cursor goes to default when not in certain windows, so in chrome its themed but in between windows it's not, and i need to 'hyperctl setcursor' - any idea why? also ... i did the sym link thing but after reboot, home manager failed to launch and told me to delete the new gtk css i made (it worked until reboot) ...
    edit and leaving in my stupidity - Add exec-once=hyprctl setcursor [THEME] [SIZE] to your config and restart Hyprland.

  • @BvngeeCord
    @BvngeeCord Před 10 měsíci +1

    Thank you!!!

  • @briainodriscoll
    @briainodriscoll Před 10 měsíci +1

    superb ;)

  • @kaitlynethylia
    @kaitlynethylia Před 9 měsíci +2

    honestly I think this would have been better as separate videos, so much time was spent on gtk that the sddm explanation was lacking and I still don't see where you do anything with QT, but maybe that's just me, your usual tutorials are still great

    • @vimjoyer
      @vimjoyer  Před 9 měsíci +3

      Thanks for critique

  • @relaxdmj8769
    @relaxdmj8769 Před měsícem

    Thank you for your great content!
    I have installed ssdm sugar-dark well but I am struggling to change launcher wallpaper. How would you do this?
    Many thanks!

  • @nonetrix3066
    @nonetrix3066 Před 6 měsíci

    How would I go about doing it with Kvantum, the way I did it last time was a hacky mess I don't even remember how I did it but it wasn't ideal

  • @brainstormsurge154
    @brainstormsurge154 Před měsícem +1

    Just getting into NixOS. Why do you say options like `qt.enable` need to be in your home manager? From what I can tell it can just be in your configuration.nix file, or is it more about creating modularity?

  • @fulsomenko
    @fulsomenko Před 10 měsíci +3

    yes

  • @capataina5087
    @capataina5087 Před 3 měsíci

    not sure why but even though I have everything set up in the home.nix file and no errors during rebuilding, when I launch nautilus the color scheme doesn't change to anything and I get 2 warnings, one for gtk-bookmarks not existing and another for Tracker3.Miner.Files not being provided in any service files which I have no idea about what that is.
    I'm using BSPWM, not even gnome. Regardless, hasn't worked for me

  • @MarcoZanon
    @MarcoZanon Před 10 měsíci +2

    Great video! You're one of the best things the nixos community would have ever needed. I have a small problem replicating your setup, in fact gtk.cursortheme, gtk.icontheme and the qt themes does not work. Are you on the unstable version?

    • @vimjoyer
      @vimjoyer  Před 10 měsíci

      I am, but everything in the video should work on 23.05. Did you enable gtk, and add required iconTheme/theme package?

  • @AdamHollister
    @AdamHollister Před 23 dny

    Everything I've tried from this vid works for me, except the gtk icons derivation process. It builds and I've confirmed the SHA256, but still seems to have no effect on icons anywhere on my system.

  • @tiggax2000
    @tiggax2000 Před 10 měsíci +2

    Something random: chaos

  • @shortervideos
    @shortervideos Před 11 dny +1

    I'm having the issue with the background, it's blank when I'm trying to put another image there. The theme I'm using is the same as yours but the light version. Just to be sure I checked with the same theme and dependencies as shown in the video and the result is the same. The image I want to use is in the GitHub repo of my Nix config, however I'm not sure if I'm doing the fetch correctly. Would it also not be possible to just copy the file locally from my Nix config directory?
    EDIT: for everyone in the future that's just as stupid as me, link the raw file of the image. It will save you a lot of trouble, it will work without an issue with the exact setup shown in the video. A stupid mistake that should've been avoided, but alas

    • @daviddeadly
      @daviddeadly Před 7 hodinami

      Glad to meet people as stupid as me 😅 Thanks!!

  • @pepejw
    @pepejw Před 6 měsíci +1

    for the let in, i get an error when i try home-manager switch, 'attempt to call something which is not a function but a set'
    how could i fix this?

    • @vimjoyer
      @vimjoyer  Před 6 měsíci

      There are two of them. Which one do you have issues with?

  • @rasmusenevoldsen3557
    @rasmusenevoldsen3557 Před 2 dny

    The SDDM suger dark themed stopped working after moving to plasma6.

  • @Lupoalberto12It
    @Lupoalberto12It Před 8 měsíci +1

    A quick question: how can I enable SDDM only with Wayland?
    I don't want to enable Xorg.
    Thanks.

    • @vimjoyer
      @vimjoyer  Před 8 měsíci

      I think SDDM requires Xorg, so that is not possible yet

    • @Lupoalberto12It
      @Lupoalberto12It Před 8 měsíci +1

      ​@@vimjoyerthank you for the answer.
      Do you have some advice for a substitute?
      I saw "greetd" but I don't know it!
      PS.: this is my first time using NixOS (not with Linux), I wanted to learn it and your videos are very helpful!

  • @midmeh
    @midmeh Před 8 měsíci +1

    hey, how do i package my own themes locally? the theme i want doesn’t have a release page

    • @vimjoyer
      @vimjoyer  Před 8 měsíci

      Just use the ./yourtheme instead of fetching from git.

    • @kayachan5198
      @kayachan5198 Před 4 měsíci

      is there any chance you could elaborate? i have found nice icons 'Treepata' but cant seem to use your video to get them@@vimjoyer

  • @AppsTricksByNazakatUmrani

    I wanted this sddm gruvbox wallpaper, I am trying to find it but can't, can you please send a temporary link, so I can download and add it in my wallpapers repo for my sddm theme?

    • @vimjoyer
      @vimjoyer  Před 8 dny +1

      I'm not sure if CZcams will allow me to put a link in a comment, but you can find it in my NixOS configuration on github, or I can send it to you on the Discord server.

    • @AppsTricksByNazakatUmrani
      @AppsTricksByNazakatUmrani Před 8 dny

      @@vimjoyer found it thanks

  • @kayachan5198
    @kayachan5198 Před 4 měsíci +1

    I skipped too far ahead, I just got nixos on a spare ssd, just about got hyprland running and stuff with default configuration.nix, copied my .config from dropbox... seems i need to look into flakes and home manager to avoid having to use dropbox?
    guess i go back to the flakes video and understand that 1 first before going onto home manager?
    thanks for videos .. subbed

    • @vimjoyer
      @vimjoyer  Před 4 měsíci +1

      Check out the ultimate guide video on the channel. You'll have a setup with flakes and home-manager in no time

  • @kayachan5198
    @kayachan5198 Před 4 měsíci +1

    I get 'syntax error, unexpected let', when trying to do icons not on nix..

    • @vimjoyer
      @vimjoyer  Před 4 měsíci

      I need more context, can you provide full expression?

    • @kayachan5198
      @kayachan5198 Před 4 měsíci

      i actually figured it out and it built the custom icons but when i tried to set them in gtk they didnt apply, ive given uip for now but thank you for the reply
      @@vimjoyer

  • @abdullahbinnur5592
    @abdullahbinnur5592 Před 9 měsíci +1

    Can you apply Kvantum theme like this?

    • @vimjoyer
      @vimjoyer  Před 9 měsíci

      github.com/tsujan/Kvantum/blob/master/Kvantum/INSTALL.md#nixos

    • @abdullahbinnur5592
      @abdullahbinnur5592 Před 9 měsíci +1

      @@vimjoyer seems I have to apply it from the Kvantum manager, still thanks tho

  • @byrmn__
    @byrmn__ Před 7 měsíci +1

    i have followed your instrucktion, and it works, at least it can pass the nixos-rebuild without error, but when i restart my computer my sddm background is fully white, buts still working and show clock and everthing, i dont know why, can you help me with that?

    • @vimjoyer
      @vimjoyer  Před 7 měsíci

      Did you use the same theme I did? Does your background image have correct extension?

    • @byrmn__
      @byrmn__ Před 7 měsíci +1

      the code structure is exacly the same except the sddm, I use kde-plasma-chili, and I use jpg image as the new background@@vimjoyer

    • @byrmn__
      @byrmn__ Před 7 měsíci +1

      also, i want to ask you something, is it possible to use eww or polybar properly with plasma?, because I've been trying to use polybar as a plasma panel replacement, even though I've install all nerd font available including the glymph icon font such as material, the bar seems cant seems to work properly, some icon broke here and there, the pending of each component seems weird so it overlay one another. :(

    • @vimjoyer
      @vimjoyer  Před 7 měsíci

      @@byrmn__ Some themes require more qt libraries, you might need to check the dependencies for your theme.

    • @vimjoyer
      @vimjoyer  Před 7 měsíci

      @@byrmn__ hard to tell, both of those are standalone programs that were not made to be used with big DE's

  • @rebecadanielle1702
    @rebecadanielle1702 Před 9 měsíci

    ✨ 'Promosm'

    • @vimjoyer
      @vimjoyer  Před 9 měsíci

      Sorry, I don't understand you