| 12 Jan 2025 |
| willow joined the room. | 07:52:32 |
| willow removed their profile picture. | 08:01:44 |
| willow changed their display name from Willowshine to willow. | 08:02:15 |
| Rayane Nakib (ريّان نقيب) joined the room. | 12:37:06 |
| 14 Jan 2025 |
| @kimblo:matrix.org left the room. | 11:43:54 |
| 15 Jan 2025 |
| Joel joined the room. | 17:26:04 |
| 16 Jan 2025 |
| @mdnlss:matrix.org changed their display name from mdnlss to smolpatches. | 03:12:03 |
| @mdnlss:matrix.org left the room. | 03:18:14 |
| gotha joined the room. | 06:51:32 |
gotha | hey, I am using direnv with flakes to install dev dependencies.
My issue is that some packages are not available for aarch64-darwin (helm for example), I know nix-darwin can install packages using homebrew.
Is there a way to install homebrew package via flake and direnv? | 06:53:44 |
WeetHet | In reply to @gotha:matrix.org hey, I am using direnv with flakes to install dev dependencies. My issue is that some packages are not available for aarch64-darwin (helm for example), I know nix-darwin can install packages using homebrew. Is there a way to install homebrew package via flake and direnv? Brew formulas have dependencies that have to be installed alongside them. Brew also defines builds for those which would be very hard to replicate. It's probably easier to go add aarch64-darwin support for the package you wanna use | 07:11:26 |
gotha | thank you, I thought so, but I wanted to check if this is something that is done in general | 07:17:38 |
| 17 Jan 2025 |
netpleb | if I want a flake output of nixosConfigurations.hello-world but need it to exist for each system architecture, is there a trick to do that? Doing this:
let
forEachSystem = nixpkgs.lib.genAttrs [
"aarch64-darwin"
"aarch64-linux"
"x86_64-darwin"
"x86_64-linux"
];
in {
nixosConfigurations = forEachSystem (system: {
# include our module
self.outputs.nixosModules.default
./examples/hello-world-configuration.nix
];
};
};
almost gets me there but it makes me do nix build .#nixosConfigurations.x86_64-linux.hello-world but I want to get rid of that x86_64-linux part of the command and cannot figure out the trick to do so.
| 23:54:52 |
| 18 Jan 2025 |
netpleb | figured it out. Needed to us the // operator: nixosConfigurations = forEachSystem (system: { hello-world = .... }) // { hello-world = self.nixosConfigurations.x86_64-linux.hello-world; }; | 01:14:17 |
netpleb | * if I want a flake output of nixosConfigurations.hello-world but need it to exist for each system architecture, is there a trick to do that? Doing this:
let
forEachSystem = nixpkgs.lib.genAttrs [
"aarch64-darwin"
"aarch64-linux"
"x86_64-darwin"
"x86_64-linux"
];
in {
nixosConfigurations = forEachSystem (system: {
hello-world = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
# include our module
self.outputs.nixosModules.default
./examples/hello-world-configuration.nix
];
};
default = self.nixosConfiguration.${system}.hello-world;
};
almost gets me there but it makes me do nix build .#nixosConfigurations.x86_64-linux.hello-world but I want to get rid of that x86_64-linux part of the command and cannot figure out the trick to do so.
| 01:15:17 |
netpleb | * if I want a flake output of nixosConfigurations.hello-world but need it to exist for each system architecture, is there a trick to do that? Doing this:
let
forEachSystem = nixpkgs.lib.genAttrs [
"aarch64-darwin"
"aarch64-linux"
"x86_64-darwin"
"x86_64-linux"
];
in {
nixosConfigurations = forEachSystem (system: {
hello-world = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
# include our module
self.outputs.nixosModules.default
./examples/hello-world-configuration.nix
];
};
default = self.nixosConfiguration.${system}.hello-world;
});
almost gets me there but it makes me do nix build .#nixosConfigurations.x86_64-linux.hello-world but I want to get rid of that x86_64-linux part of the command and cannot figure out the trick to do so.
| 01:15:40 |
| 19 Jan 2025 |
| Waldemar Tomme (they/them) changed their display name from Waldemar Tomme to Waldemar Tomme (they/them). | 08:17:03 |
| 21 Jan 2025 |
| rouma7 changed their profile picture. | 13:15:38 |
| 22 Jan 2025 |
| @nm0i:matrix.org left the room. | 13:23:56 |
| 23 Jan 2025 |
| @level8broccoli:matrix.org joined the room. | 22:28:40 |
| @thedragon44:matrix.org changed their profile picture. | 23:45:10 |
| @thedragon44:matrix.org changed their profile picture. | 23:51:33 |
| 24 Jan 2025 |
| @thedragon44:matrix.org changed their profile picture. | 01:18:39 |
| 25 Jan 2025 |
| tajo48 joined the room. | 02:53:51 |
tajo48 | ayoooo guys im having trouble setting wifi passwords in my nix flake so that my laptop will connect to my home wifi network by default
i have setup like this:
networking.wireless.enable = true;
networking.wireless.networks = {
"Bonkek" = {
psk = "Kek12";
};
};
where my hotspot is ubiquity with wpa2/wpa3
| 02:56:43 |
| 28 Jan 2025 |
| crunch joined the room. | 02:01:42 |
| 29 Jan 2025 |
| Kira joined the room. | 00:19:28 |
| 30 Jan 2025 |
| 👉@crystallinefire:chat.solarpunk.moe changed their profile picture. | 01:30:56 |
| a3don joined the room. | 03:04:49 |
a3don | Hey! 👋 Can I make a flake that installs other packages to a profile individually, instead of as one package? | 03:06:51 |