Commit Graph

42 Commits

Author SHA1 Message Date
f0d145c9f5 Merge branch 'main' of https://codeberg.org/traverseda/nixos-config 2024-09-14 12:15:01 -03:00
03eb3b604a Rename gwen to chamuel and generize it 2024-09-14 12:09:57 -03:00
015506c0a9 Added ingrid thinkpad t470 2024-09-14 13:57:45 +00:00
b7fe8183e2 Added laptop for ingridi 2024-09-14 09:29:53 -03:00
8ff07c6d47 Added support for foreign deployments 2024-08-16 15:28:03 +00:00
traverseda
9fe5f6e656 Update flake.nix 2024-08-16 14:40:53 +00:00
b25386163e Fixed nixvim release 2024-08-07 11:32:06 -03:00
63637c1120 Merge branch 'main' of https://codeberg.org/traverseda/nixos-config 2024-08-07 10:41:01 -03:00
612a38c3f7 An update, misc small fixes 2024-08-07 10:40:53 -03:00
88395bdce5 Provision adrial 2024-07-16 22:21:26 -03:00
7174fd6ed8 More minor work tweaks 2024-06-19 10:54:54 -03:00
12e292260d Update keybinds 2024-06-12 14:56:39 -03:00
87a21720f2 nixvim most of the way there 2024-06-11 16:44:13 -03:00
1f3653c6fb DSLR-webcam, so old vr-desktop crap I was playing with but didn't remove 2024-06-06 13:31:48 -03:00
138933566b Disable docker liverestore so reboot doesn't hang 2024-06-04 12:18:00 -03:00
36094b083a Merge branch 'main' of https://codeberg.org/traverseda/nixos-config 2024-05-31 09:28:47 -03:00
e625e79bda Add traverse to family users 2024-05-31 09:20:03 -03:00
52727239f6 Vim 2024-05-26 12:57:09 -03:00
67decdc3c8 Integrated plasma-manager config 2024-05-26 09:37:00 -03:00
b6a57da145 Reprovision ariel for work, still undecided 2024-05-25 07:33:41 -03:00
d8fa2eb8c9 Added new laptop to the flee 2024-05-24 17:33:02 -03:00
7d56fbed00 Renamed work computer hostname 2024-05-24 13:04:13 -03:00
a67e367c68 Changed auto-update to just pull form git 2024-05-24 07:00:23 -03:00
3c944898b0 Creality print 2024-05-21 07:17:25 -03:00
b77b6cfaf4 Initial work on home manager 2024-05-18 18:40:15 -03:00
274e4e5627 Merge branch 'main' of https://codeberg.org/traverseda/nixos-config 2024-05-14 18:33:50 -03:00
37767ad75b Whitelist zerotier interface 2024-05-14 18:33:28 -03:00
8409aec688 Better VM autodetection 2024-05-14 08:39:54 -03:00
e0be8076cd Don't need specialArgs 2024-05-13 12:42:45 -03:00
18d2a55b93 Enable zerotier, fixup firewall 2024-05-11 17:25:12 -03:00
854f7a0eb6 Added my home-assistant conf 2024-05-11 15:17:01 -03:00
3213050cae Timezones! 2024-05-11 13:12:04 -03:00
22205740b8 Added in zerotier support 2024-05-11 15:53:09 +00:00
2cc2aea61f Added CAD tool settings 2024-05-11 12:40:43 +00:00
58c421383c Hardware configuration 2024-05-11 10:47:11 +00:00
fc86ce846a Forgot to commit over the weekend 2024-04-29 15:15:49 -03:00
b7438f913f Add in kde config 2024-04-25 12:28:13 -03:00
892009fb9d Remove hostname assignment for nixos configurations. 2024-04-24 10:50:04 -03:00
edcc5edac4 aider: Update hostname configuration to use variables from flake.nix in nixos/configuration.nix.
# Aider chat conversation:

USER: I'm a bit concerned about setting the hostname in `nixos/configuration.nix` , as I want to use the same basic configuration for all of my devices

ASSISTANT: I understand your concern. You can use a variable for the hostname in `nixos/configuration.nix` and pass it in from the `flake.nix` file when defining the `nixosConfigurations`. This way, you can have the same default `nixos/configuration.nix` for every system and just change the hostname for each system in the `flake.nix` file.

Here are the *SEARCH/REPLACE* blocks:

flake.nix
```nix
<<<<<<< SEARCH
athame = nixpkgs.lib.nixosSystem {
  specialArgs = {inherit inputs outputs;};
=======
athame = nixpkgs.lib.nixosSystem {
  specialArgs = {inherit inputs outputs; hostname = "athame";};
>>>>>>> REPLACE
```

flake.nix
```nix
<<<<<<< SEARCH
metatron = nixpkgs.lib.nixosSystem {
  specialArgs = {inherit inputs outputs;};
=======
metatron = nixpkgs.lib.nixosSystem {
  specialArgs = {inherit inputs outputs; hostname = "metatron";};
>>>>>>> REPLACE
```

nixos/configuration.nix
```nix
<<<<<<< SEARCH
networking.hostName = "your-hostname";
=======
networking.hostName = inputs.hostname;
>>>>>>> REPLACE
```

This will replace the hardcoded hostname in `nixos/configuration.nix` with a reference to the hostname defined in the `flake.nix` file.
2024-04-24 09:53:39 -03:00
b96451f536 Added main NixOS configuration files for personal and work laptops with specific hardware configurations. 2024-04-24 09:53:37 -03:00
9fc76fba2c Added default.nix to the list of modules in flake.nix and changed PasswordAuthentication to true in configuration.nix. 2024-04-24 09:22:30 -03:00
fb4fdfb763 Initial commit 2024-04-23 07:59:37 -03:00