DevOS | 37 Members | |
| Seeking help and geeking out together on https://github.com/divnix/devos & https://github.com/divnix/digga | 10 Servers |
| Sender | Message | Time |
|---|---|---|
| 4 Jan 2022 | ||
Then just drop the home.users line in flake.nix | 05:41:36 | |
home.users is only necessary if you do inherit (hmUsers) alice | 05:42:00 | |
* Well I think you could just set your user profile in users/cw/default.nix, like remove the inherit (hmUsers) cw and move the stuff from the flake.nix home.users to home-manager.sers.cw = | 05:42:11 | |
* Well I think you could just set your user profile in users/cw/default.nix, like remove the inherit (hmUsers) cw and move the stuff from the flake.nix home.users to home-manager.users.cw = | 05:42:18 | |
| 5 Jan 2022 | ||
| I'm trying to do something but I need some help.
And I have added
But I have no clue how I could pass that pkgs argument though :/ | 13:50:45 | |
| * I'm trying to do something but I need some help.
And I have added
But I have no clue how I could pass that | 13:51:53 | |
| You should create a module for this: In `modules/vars.nix` ``` { pkgs, lib, ... }: with lib; { options = { username = mkOption { type = types.str; }; terminalBin = mkOption { type = types.package; }; }; config = { username = "sweenu"; terminalBin = "${pkgs.alacritty}/bin/alacritty"; }; } ``` | 16:05:19 | |
| * You should create a module for this: In
| 16:06:32 | |
In reply to @Sweenu:matrix.orgThen in these places, use config.username, config.terminal and so on. | 16:08:08 | |
| Daniel Phan: Oh yeah I see, that's way better indeed. Thank you ! | 16:45:37 | |
| 6 Jan 2022 | ||
| 19:36:01 | ||
| 19:38:46 | ||
| 19:48:06 | ||
| 21:14:13 | ||
| 21:15:02 | ||
| 7 Jan 2022 | ||
| 13:20:36 | ||
| 9 Jan 2022 | ||
| 22:15:26 | ||
| 10 Jan 2022 | ||
| 14:31:10 | ||
| 14:31:41 | ||
| good job in moving the channel back to nixos.org | 17:27:28 | |
| 19:43:31 | ||
| I'm a little confused about getting started and could use a little guidance. So I've read through the first few pages of documentation and started to split out my configuration.nix into a users/worldofgeese/default.nix for user stuff, filesystem stuff into a hosts/endless-summer.nix and filled out the root user with a hashed password and pubkey. So I'm ready to go, right? Here's where I get confused: the install instructions indicate I should build an ISO from the bootstrap.nix but that won't source a lot of my personalizations. Do I wait on those until after I've built and booted a minimal ISO? | 19:51:54 | |
| DevOS also has a tool for creating a guideline hosts file so I assume I wait on including my personal changes but I'm unsure | 19:52:47 | |
| 11 Jan 2022 | ||
In reply to@worldofgeese:one.ems.hostYes, normally you would into a minimal ISO and deploy your personalizations to the remote machine. Since this is your first time installing, you can copy your devos config to the booted ISO and nixos-install from that. | 01:58:02 | |
Download DSC_0000_BURST20220111103107683_COVER.JPG | 09:34:38 | |
| I got a little further on this, thanks Daniel (and cool you're running Conduit, that's why I'm setting up a NixOS server now with the recently merged Conduit service). Following the documentation to set authorizedKeys, the key is set in the ISO but restrictive firewall rules block access to sshd. | 09:34:42 | |
| I needed to clear the iptables rules and was then able to ssh into the live environment | 09:34:59 | |
| Is this intended behavior? | 09:35:11 | |
The docs actually didn't mention that you would need networking.trustedInterfaces = [ "eth0" ]; | 10:26:57 | |
I found out about networking.trustedInterfaces because I tried to opened port for Spotify and my phone couldn't detect my computer, though I only tested this with tailscale. | 10:32:53 | |