| 20 Sep 2021 |
David Arnold (blaggacao) | If you can exit, run nix flake update & reenter, that would be interesting to see if it works. (For me) | 12:38:44 |
@zrsk:matrix.org | Nothing to do | 12:41:18 |
@zrsk:matrix.org | I also tried to delete the flake.lock and make nix flake update recreate it | 12:41:42 |
@zrsk:matrix.org | Problem solved, I was running just bud rebuild or bud rebuild test without the hostname. Now I | 12:48:48 |
@zrsk:matrix.org | * Problem solved, I was running just bud rebuild or bud rebuild test without the hostname. Now it works as in the devos repository with `bud.follows. | 12:50:24 |
@zrsk:matrix.org | * Problem solved, I was running just bud rebuild or bud rebuild test without the hostname. Now it works as in the devos repository with bud.follows. | 12:50:30 |
@zrsk:matrix.org | It was a stupid problem but at least I better understood how DevOS and bud work together.
Thank you for the support, probably I'll write here again in the next days. | 12:51:47 |
@teutat3s:pub.solar | nrdxp: yeah we do use direnv to enter the devshell. How would I check if nix-direnv is properly available? | 14:13:33 |
@teutat3s:pub.solar | Ah, our users are not in home = { } within flake.nix yet. So we're probably still missing nix-direnv as it only gets enabled for the user nixos https://git.b12f.io/pub-solar/os/src/branch/teutat3s/flake.nix#L139-L151 | 14:19:02 |
@timdeh:matrix.org | you can import it directly if you want with:
https://github.com/nix-community/nix-direnv#direnv-source_url | 14:19:32 |
@teutat3s:pub.solar | Thanks - we'll look into nix-direnv | 14:20:02 |
| @cw:kernelpanic.cafe changed their display name from Rev. CornWallace III to Rev. CornWallace III (tzu/tzi). | 15:23:04 |
| @cw:kernelpanic.cafe changed their display name from Rev. CornWallace III (tzu/tzi) to Rev. CornWallace III (sun/tzu). | 15:25:33 |
| 21 Sep 2021 |
| andry_ joined the room. | 05:21:35 |
andry_ | Greetings. | 05:22:18 |
andry_ | Who could be questioned at the time of installation NixOs | 05:23:23 |
@kraftnix:matrix.org | I am quite confused with how the nur integration works with devos, I cannot seem to update my nur input via nix flake lock --update-input nur, but if I add in nur.url = "github:nix-community/NUR"; then the lockfile is actually updated.
I guess my main question is how is nur actually integrated when it's not defined as an input?
| 15:04:38 |
@timdeh:matrix.org | hmm was it removed at some point? It used to be | 15:08:06 |
@timdeh:matrix.org | is it a digga input? | 15:10:10 |
@kraftnix:matrix.org | I couldn't find it amongst quite a few of the inputs I looked across | 15:11:55 |
@kraftnix:matrix.org | well this is interesting, if I remove nur.url input from the flake, then run nix flake lock --recreate-lock-file it updates the path of the nur input from a github url to a store path, but does not remove it from the lock file (I guess since I use/rely on nur or because it is an argument to outputs)
• Updated input 'nur':
'github:nix-community/NUR/7ad8de0eab7c38e0b84ffa817582223a0293e732' (2021-09-21)
→ 'path:/nix/store/0wad8flznsfv3jr4qggyq65jqminxzpn-source?lastModified=1632235753&narHash=sha256-GTfOKPZ5L+uTQDbm4LhXx3
UfQpOyCJzbf%2f2zOQdZEPM=&rev=7ad8de0eab7c38e0b84ffa817582223a0293e732' (2021-09-21)
| 15:20:31 |
@kraftnix:matrix.org | if you take the latest commit of develop branch of devos and run nix flake lock --recreate-lock-file this also happens with nur and latest, and additional inputs are added as well (such as bud flake dependecies and digga/nix), in fact nearly all the locked inputs from devos's master branch seem very out of date | 15:26:04 |
@kraftnix:matrix.org | * if you take the latest commit of master branch of devos and run nix flake lock --recreate-lock-file this also happens with nur and latest, and additional inputs are added as well (such as bud flake dependecies and digga/nix), in fact nearly all the locked inputs from devos's master branch seem very out of date | 15:26:11 |
@timdeh:matrix.org | they are, I want to setup a CI job to update them periodically if the tests pass after update | 15:27:11 |
@kraftnix:matrix.org | after grepping through commits the earliest mention I can find of nur where there is no input is back in dec 2020 https://github.com/divnix/devos/blob/15003e3de9e9e39b7cb9752b65bad96b819c1624/flake.nix, and I can't seem to figure out how the nur input is being included in there either. | 15:39:27 |
@kraftnix:matrix.org | the last time the flake.lock changed for nur was when the ANT CORRUPTION LAYER was added in commit https://github.com/divnix/devos/commit/6ebdf3adb422c79675d2b919025c7f1367a5a665 | 15:58:48 |
@kraftnix:matrix.org | * the last time the flake.lock changed for nur was when the ANTI CORRUPTION LAYER was added in commit https://github.com/divnix/devos/commit/6ebdf3adb422c79675d2b919025c7f1367a5a665 | 15:58:57 |
| 22 Sep 2021 |
@zrsk:matrix.org | HI! I can't understand how to use suites, for example in my flake.nix I have the following:
home = {
imports = [ (digga.lib.importModules ./users/modules) ];
externalModules = [ ];
importables = rec {
profiles = digga.lib.rakeLeaves ./users/profiles;
suites = with profiles; rec {
base = [ direnv git zsh ];
gui = [ sway ];
};
};
users = {
ccr = { suites, ... }: { };
}; # digga.lib.importers.rakeLeaves ./users/hm;
};
And in users/ccr/default.nix:
{ hmUsers, pkgs, suites, ... }:
{
home-manager.users = {
inherit (hmUsers); #what is this?
ccr.imports = import suites.gui; #here I want to import the suite with the home-manager configs for sway and related things
home.packages = with pkgs; [
# packages for this user
];
};
users.users.ccr = {
# my user config
}
}
I get this error:
error: attribute 'gui' missing
at /nix/store/280x4jmhhi4mnf23bbg744d35s4ls9kq-source/users/ccr/default.nix:5:26:
4| inherit (hmUsers);
5| ccr.imports = import suites.gui;
| ^
6| home.packages = with pkgs; [
(use '--show-trace' to show detailed location information)
| 08:57:00 |
@zrsk:matrix.org | * HI! I can't understand how to use suites, for example in my flake.nix I have the following:
home = {
imports = [ (digga.lib.importModules ./users/modules) ];
externalModules = [ ];
importables = rec {
profiles = digga.lib.rakeLeaves ./users/profiles;
suites = with profiles; rec {
base = [ direnv git zsh ];
gui = base ++ [ sway ];
};
};
users = {
ccr = { suites, ... }: { };
}; # digga.lib.importers.rakeLeaves ./users/hm;
};
And in users/ccr/default.nix:
{ hmUsers, pkgs, suites, ... }:
{
home-manager.users = {
inherit (hmUsers); #what is this?
ccr.imports = import suites.gui; #here I want to import the suite with the home-manager configs for sway and related things
home.packages = with pkgs; [
# packages for this user
];
};
users.users.ccr = {
# my user config
}
}
I get this error:
error: attribute 'gui' missing
at /nix/store/280x4jmhhi4mnf23bbg744d35s4ls9kq-source/users/ccr/default.nix:5:26:
4| inherit (hmUsers);
5| ccr.imports = import suites.gui;
| ^
6| home.packages = with pkgs; [
(use '--show-trace' to show detailed location information)
| 08:57:34 |
@zrsk:matrix.org | * HI! I can't understand how to use suites, for example in my flake.nix I have the following:
home = {
imports = [ (digga.lib.importModules ./users/modules) ];
externalModules = [ ];
importables = rec {
profiles = digga.lib.rakeLeaves ./users/profiles;
suites = with profiles; rec {
base = [ direnv git zsh ];
gui = [ sway ];
};
};
users = {
ccr = { suites, ... }: { import = suites.base };
}; # digga.lib.importers.rakeLeaves ./users/hm;
};
And in users/ccr/default.nix:
{ hmUsers, pkgs, suites, ... }:
{
home-manager.users = {
inherit (hmUsers); #what is this?
ccr.imports = import suites.gui; #here I want to import the suite with the home-manager configs for sway and related things
home.packages = with pkgs; [
# packages for this user
];
};
users.users.ccr = {
# my user config
}
}
I get this error:
error: attribute 'gui' missing
at /nix/store/280x4jmhhi4mnf23bbg744d35s4ls9kq-source/users/ccr/default.nix:5:26:
4| inherit (hmUsers);
5| ccr.imports = import suites.gui;
| ^
6| home.packages = with pkgs; [
(use '--show-trace' to show detailed location information)
| 08:58:40 |