1
3

Working in a Virtualbox VM using the standard KDE version of the .iso. I get locked out due to inactivity during a live environment session. Trying to enter the empty password doesn't help me. How do I deal with this graciously?

2
5
submitted 1 week ago by checksout@thelemmy.club to c/nixos@lemmy.ml
3
20
submitted 1 month ago by Atemu@lemmy.ml to c/nixos@lemmy.ml
4
8
submitted 1 month ago by vfosnar@beehaw.org to c/nixos@lemmy.ml

cross-posted from: https://beehaw.org/post/13758256

You can change the color theme of your whole desktop with a single line of code.

Currently supported adapters:

  • Adwaita (GTK3, GTK4)
  • Alacritty
  • dunst
  • Firefox (hijacking the default theme with userchrome.css)
  • GTK2
  • Kvantum
  • Rofi
  • swaylock
  • Wezterm

repo: https://gitlab.com/vfosnar/nix-colors-adapters / https://github.com/vfosnar/nix-colors-adapters

5
15
submitted 2 months ago by nat_418@lemmy.ml to c/nixos@lemmy.ml
6
8
submitted 2 months ago by totikom@lemmy.ml to c/nixos@lemmy.ml
7
22
submitted 2 months ago by uthredii@programming.dev to c/nixos@lemmy.ml

cross-posted from: https://programming.dev/post/13537798

Exciting Partnership Announcement: Framework Community & NixOS Communities Join Forces!

8
7
submitted 2 months ago by mobergmann@lemmy.world to c/nixos@lemmy.ml

cross-posted from: https://lemmy.world/post/14160134

I want to reset my server soon and I'm toying with the idea of using a different operating system. I am currently using Ubuntu Server LTS. However, I have been toying with the idea of using Fedora Server (I use Fedora on my laptop and made good experiences with it) or even Fedora CoreOS. I also recently installed NixOS on my desktop computer and find the declarativeness pretty cool (but I'm still a complete beginner) and could imagine that it would fit well into a server setup.

I have quite a few services running on my server, such as Nextcloud, Conduit (Matrix), Jellyfin, etc. and all in containers. I would also rather not install programs without containers, because 1. compose is super easy to maintain and set up, 2. it remains very clear with containers (and compose) and 3. I believe that containers are more secure. But since I also want to make the services inside the containers available, I currently have Nginx installed as a reverse proxy (not in the container, but on the system) and always create certificates with certbot so that I can use HTTPS encryption.

In the paragraph above I actually described exactly the use-case of Fedora CoreOS, but I have no experience with the system and how it works. That's why I'm still a bit hesitant at considering the OS at the moment. I can imagine that NixOS with its declarative nature seems well suited, since, as I have heard, you can configure containers as well as Nginx and with Nginx also https certificates declaratively. But I could also use a base system like before (Fedora Server or Ubuntu Server) and simply install podman, nginx and certbot and manage everything that way.

Have you had any experience with Fedora Server, Fedora CoreOS, NixOS or a completely different operating system for servers and what are/were your impressions with this setup? Or do you just want to share your knowledge here? I would be delighted.

9
7
submitted 3 months ago by starman@programming.dev to c/nixos@lemmy.ml
10
8
submitted 3 months ago* (last edited 3 months ago) by hallettj@leminal.space to c/nixos@lemmy.ml

cross-posted from: https://leminal.space/post/4750886

It took me some time to work out how to get my ssh agent set up in Niri so I though I would share what I did. I'm using NixOS and Home Manager. I put this in my Home Manager config:

services.gnome-keyring = {
  enable = true;
  components = [ "pkcs11" "secrets" "ssh" ];
};
home.sessionVariables.SSH_AUTH_SOCK = "$XDG_RUNTIME_DIR/keyring/ssh";

I'm using GDM according to NixOS' default configuration which I think runs gnome-keyring (I thought I saw it in the process list before I set up the user unit), and I think that configuration is automatically unlocking gnome-keyring when I log in via PAM integration. But apparently I need to run gnome-keyring again in my window manager session. Home Manager's services.gnome-keyring adds a systemd user unit that does that.

11
19
submitted 3 months ago by LGUG2Z@lemmy.world to c/nixos@lemmy.ml

cross-posted from: https://lemmy.world/post/13113247

After learning how to add an unstable overlay to nixpkgs, being able to override individual service modules from unstable was something that I still struggled with until fairly recently. Hopefully this helps someone else looking to do common-but-not-very-obvious operation.

12
4
submitted 3 months ago by jaagruk@mander.xyz to c/nixos@lemmy.ml

Hi, I am a beginner on NixOS and I am confused how to setup fonts on it. I have home-manager working properly and nerd-fonts installed. Now how to setup System,GTK,emoji and Indic fonts.

Any article or part of config please.

13
8
submitted 3 months ago by hallettj@leminal.space to c/nixos@lemmy.ml
14
8
submitted 4 months ago by gunpachi@lemmings.world to c/nixos@lemmy.ml

So I have been experiencing screen blackout when I use any refresh rate above 60Hz. On Arch I was able to solve this by setting a udev rule as mentioned in this ArchWiki article but it seems like I can't do the same in NixOS using the traditional way. Is there anything I need to add in the configuration.nix file to achieve the same ?

15
17
submitted 4 months ago by Atemu@lemmy.ml to c/nixos@lemmy.ml
16
16
submitted 4 months ago by tuckerm@supermeter.social to c/nixos@lemmy.ml

Hi, sorry if that title isn't very clear. I just started learning about nix a couple days ago; I'll explain what I mean.

I'm trying to set up a web application that I'm currently hosting with Docker containers, but do it with nix instead, like what's shown in this blog post: https://carjorvaz.com/posts/the-holy-grail-nextcloud-setup-made-easy-by-nixos/

However, I don't have NixOS on my server. I'm using Debian, with the nix package manager installed.

Is it possible to use a nix config file, like the one below, when only using the nix package manager? Currently it errors when I try to call nix-build with it, giving an error about calling a lambda function that never called self. If I remove the self argument, it complains about config, and so on.

{ self, config, lib, pkgs, ... }:

{
  services = {
    nextcloud = {
      enable = true;
      hostName = "cloud.example.com";

      package = pkgs.nextcloud27;

      # Let NixOS install and configure the database automatically.
      database.createLocally = true;

      # Let NixOS install and configure Redis caching automatically.
      configureRedis = true;

      < other settings here... >
    };
  };
}

From what I've read, the services part of that creates systemd services, which makes me think that it only works if you're on a full NixOS system and not only using the nix package manager. But it's been difficult to find a clear answer on that, probably because I'm still learning what terms to search for.

17
9
submitted 4 months ago by Atemu@lemmy.ml to c/nixos@lemmy.ml
18
7
PXE Template? (beehaw.org)
submitted 4 months ago by GnomeComedy@beehaw.org to c/nixos@lemmy.ml

Does NixOS have a way to PXE many machines via a kickstart or preseed equivalent? I'm curious to experiment with it in the context of a University environment and we use either Cobbler or Foreman for host provisioning.

Also curious what the best practice is for config management. I only know enough to know there's a nix config file that declares everything. Does this completely supplant puppet/salt/ansible, or do you use them together?

Thanks for any tips!

19
17
submitted 5 months ago by Atemu@lemmy.ml to c/nixos@lemmy.ml
20
8
submitted 5 months ago by callyral@pawb.social to c/nixos@lemmy.ml

Recently, I switched to NixOS and realised that there is no G'MIC plugin package for Krita.

There's this issue that was last active in October 2023.

I was wondering if anyone has managed to install this without using another package manager (such as Flatpak) or installing an AppImage manually, for system reproducibility, and I also don't wanna have two package managers in one system.

Ideally, there'd be a wrapper, so you could do something like:

{ pkgs, ... }: {
  programs.krita = {
    enable = true;
    gmic.enable = true;
    gmic.package = pkgs.krita.gmic-qt;
  };
}

Thoughts?

Related: is there some kind of guide on these program.<name> wrappers? What are they and where are they defined?

21
15
submitted 5 months ago* (last edited 5 months ago) by h3ndrik@feddit.de to c/nixos@lemmy.ml

So, I got into NixOS and installed it on a VPS a few days ago. I've previously used yunohost.org (a debian based all-in-one selfhosting solution) and docker-compose. But I (now) really like the Nix(OS) approach, the amount of packaged software and how everything ties together in a clean server configuration.

However... I need a bit more information on the server stuff. Are there nice configurations around which I can incorporate and learn from? Extensive tutorials from other people who run their own services or communities?

I mean the basic stuff isn't a problem. I got Nextcloud and the most important stuff running, a DNS Adblocker, a chat server, nginx etc. But ultimately I'd like to share some services with friends and family. So I need single sign-on (SSO), preferably with an LDAP directory. An email server... And the Wiki and just googling it stop being helpful at this point.

Are there people who share their experience with LDAP/Authentik/Zitadel/Authelia/Keycloak / whatever SSO/Authentication software is packaged in Nix but I can't find anything about from people who actually use it? A comparison of the several available email servers?

22
2
submitted 5 months ago by 0xCAFE@feddit.de to c/nixos@lemmy.ml

I'm a semi-recent NixOS user and one thing that bothers me since the beginning is that when I change the Gnome theme (between light and dark), Firefox doesn't adapt. The system theme in Firefox is enabled, but it always displays the light theme, no matter what theme is selected in Gnome.

Internet search, including searching through NixOS discourse, packages, options and Nixpkgs repo surfaced a solution.

Any ideas or tips how to achieve system theme integration for Firefox on NixOS?

NixOS 23.11 / Gnome 45 / sway

23
10
submitted 6 months ago by itsaj26744@programming.dev to c/nixos@lemmy.ml

Any bried guide on building from source. I want build friclicli as not in nix repo. Tried to search on internet but didn't got anything. (New to nixOS)

24
14
submitted 6 months ago by Atemu@lemmy.ml to c/nixos@lemmy.ml
25
15
submitted 7 months ago by Atemu@lemmy.ml to c/nixos@lemmy.ml
view more: next ›

nixos

1197 readers
1 users here now

All about NixOS - https://nixos.org/

founded 4 years ago