| 16 Jan 2026 |
faye | Hiya, my server setup right now is quite primitive, I was wondering, is there a better way to deploy singular applications? For reference, my current workflow is:
Do a change in app Update singular app flake Commit Push Update flake input in server configuration Rebuild entire server
Also worth noting, I have one flake that contains both my personal laptop configuration and my server's What I'm currently trying to cut down on the most is updating flake inputs manually and rebuilding the entire server | 17:24:42 |
gotha | if thats considered primitive, I am also interested in ways to improve the setup :) | 17:24:58 |
faye | Well I don't know what's the actual standard for the average user, this is just what I suppose a normal workflow would be, which is why I do it this way in the first place | 17:26:26 |
gotha | sure thing, I also don't know what the standard is, so I am looking forward to learn something new | 17:27:43 |
magic_rb | I generally carry around --override-input my-input path:///home/me/whatever but its also not great | 17:30:09 |
| @uakci:uakci.space left the room. | 19:02:07 |
| 17 Jan 2026 |
| Leo Newton joined the room. | 04:55:45 |
| @abusager_:matrix.org joined the room. | 15:27:28 |
| 18 Jan 2026 |
| @abusager_:matrix.org left the room. | 06:37:03 |
| 19 Jan 2026 |
| wb40 joined the room. | 03:48:52 |
| bl1nk changed their profile picture. | 10:39:27 |
| fosskar joined the room. | 19:21:29 |
| 22 Jan 2026 |
| Moved to: @astro:c3d2.de changed their display name from Astro to Moved to: @astro:c3d2.de. | 21:38:12 |
| 24 Jan 2026 |
| noosanon joined the room. | 14:59:27 |
| lll0303 - OLD ACCOUNT new: @linus:lutzens.org changed their display name from lll0303 to lll0303 - OLD ACCOUNT new: @linus:lutzens.rog. | 16:11:27 |
| lll0303 - OLD ACCOUNT new: @linus:lutzens.org changed their display name from lll0303 - OLD ACCOUNT new: @linus:lutzens.rog to lll0303 - OLD ACCOUNT new: @linus:lutzens.org. | 16:15:00 |
| 25 Jan 2026 |
| Contact @rappet:rappet.xyz instead (I will not respond here) changed their display name from Contact @rappet:rappet.xyz instead to Contact @rappet:rappet.xyz instead (I will not respond here). | 21:01:34 |
| 26 Jan 2026 |
| @silvio:booq.org left the room. | 15:09:46 |
hanke | A question if anyone has the time and energy to help a noob;
I always want stuff installed in the system if possible, but if running on a system where I do not control the root, I at least want the same stuff installed for my user.
How do I go about that in a convenient way with modules like programs.firefox = { <lots of different values set here> }; ? And how do I achieve that with normal packages as well?
I have technically got it working with home-manager by doing this:
{ config, pkgs, lib, ... }:
let
cfg = config.myHome;
in
{
options = {
myHome.useUserPackages = lib.mkOption {
type = lib.types.bool;
default = true;
description = "Install packages in userspace.";
};
};
config = {
home-manager.users.hanke = {
home.stateVersion = "25.11";
home.packages = lib.optionals cfg.useUserPackages (import ./packages.nix {inherit pkgs;});
};
};
}
But I am not sure if this is the best way to do it.. | 19:21:05 |
K900 | There is no real distinction between "user" and "system" in most cases | 19:21:39 |
K900 | Just install things through HM if you're dealing with machines where you only have HM | 19:21:52 |
hanke | The distinction in my eyes is that the "system" applies to all users, so I prefer that if it is an option. | 19:22:22 |
K900 | Do you plan on having more than one user? | 19:22:34 |
hanke | My user + root | 19:22:46 |
hanke | sudo vim should work as well as just vim | 19:22:56 |
K900 | You can import the same config for your user and for root | 19:22:56 |
K900 | I basically do that | 19:22:58 |
K900 | https://gitlab.com/K900/nix/-/blob/master/shared/base/common-config.nix?ref_type=heads#L114 | 19:23:31 |
hanke | Ahaaaaa damn boy that's convenient | 19:24:56 |
hanke | That repository.. is quite something | 19:25:25 |