Sender | Message | Time |
---|---|---|
9 May 2024 | ||
mfed3 | Is that making the system run a nixos-rebuild switch automatically at 4:40 and build what is in the flake.lock | 12:25:09 |
mfed3 | Or is that actually doing a nix flake update then building it | 12:25:43 |
remi-gelinas joined the room. | 13:25:37 | |
Charles Hamilton joined the room. | 19:19:05 | |
@aidalgol:matrix.org | In reply to @mfed3:matrix.org Going by the description of
| 20:40:24 |
@aidalgol:matrix.org | You could also point system.autoUpgrade.flake to a remote flake (e.g. a git repo), and something else keeps that flake up to date, and the nixos-rebuild systemd job on your server will just apply the flake as-is. | 20:42:16 |
mfed3 | It isn't very clear because I saw peoples usage on other websites saying they run it this way, and it will bump the lock file, meaning it blows past the lock file and changes the one on your local | 21:15:48 |
mfed3 | With the flag you mentioned it will not only blow past your lock file it will update and commit it | 21:16:35 |
mfed3 | So I guess to keep it in line with the flake you want no flags? | 21:17:32 |
vzxplnhqr joined the room. | 21:17:54 | |
vzxplnhqr | Hi flake people. I am trying to follow the "make menuconfig" section of https://nixos.wiki/wiki/Linux_kernel but I do not know how to translate it to the world of flakes:
| 21:19:15 |
vzxplnhqr | (because without figuring this out, I get errors pertaining to ncurses not existing in the build and so on) | 21:20:47 |
mfed3 | My use case is i want to decide when to bump the flag to a version i want and then push that out to my machines and they just check the flake file and update to that version overnight, not updating past that | 21:21:48 |
@aidalgol:matrix.org | Sounds like you want no flags, then. | 21:30:14 |
samasaur | that is correct, you want no flags | 22:45:56 |
mfed3 | Perfect thanks | 23:46:49 |
10 May 2024 | ||
isabel changed their profile picture. | 13:15:04 | |
EsperLily [she/her] changed their profile picture. | 18:57:03 | |
@ayyz12:matrix.org joined the room. | 22:40:11 | |
11 May 2024 | ||
mfed3 | I did a bit of refactoring of my system and i switched my config over to
instead of
| 01:53:04 |
mfed3 | I renamed the file from configuration.nix to default.nix but when I try to build the flake it complains the file doesn't exist
it's translating it properly from a folder to looking for default.nix why would it not think it's there? | 01:54:20 |
mfed3 | * I renamed the file from configuration.nix to default.nix but when I try to build the flake it complains the file doesn't exist
it's translating it properly from a folder to looking for default.nix why would it not think it's there? | 01:54:32 |
mfed3 | Ugh nevermind figured it out, this flakes thing is so weird it doesn't know files exist unless you stage them or commit them | 02:00:14 |
mfed3 | Can't just refactor whatever you want and expect it to pick up the files you changed | 02:00:48 |
samasaur | yeah if your flake is a git repository then all files you want to use must be tracked by git | 03:10:59 |
skippy changed their display name from skip to skippy. | 03:44:06 | |
@abmantis:abcosta.com | indeed, if I run nix-collect-garbage, nix develop will download stuff again, even with the --profile flag (and I've checked that the symlink is created) | 22:33:51 |
@abmantis:abcosta.com |
That is what it prints with | 22:34:56 |
@abmantis:abcosta.com | https://github.com/NixOS/nix/issues/4250 | 23:05:48 |
@abmantis:abcosta.com | meh, bug :( | 23:05:51 |