Compare commits

...

7 Commits

Author SHA1 Message Date
2354c2d6b8
Merge branch 'home-reorganize' 2024-01-01 13:17:13 -05:00
41e9233163
Add home.nix to hosts 2024-01-01 13:08:53 -05:00
4656bc4913
Give each host a separate home.nix 2024-01-01 13:06:57 -05:00
07ac55c9f2
Move home.nix to home/common.nix 2024-01-01 13:04:22 -05:00
7bda226065
missed a few 2024-01-01 13:00:10 -05:00
0160c33588
Refactor path references 2024-01-01 12:58:31 -05:00
803a47d745
move things to somewhere that makes more sense
(need to rename everything now please kill me)
2024-01-01 12:53:02 -05:00
21 changed files with 36 additions and 18 deletions

View File

@ -35,24 +35,27 @@
modules = [ modules = [
./hosts/slab/configuration.nix ./hosts/slab/configuration.nix
./hosts/slab/nvidia-optimus.nix ./hosts/slab/nvidia-optimus.nix
./roles/remote.nix ./system/remote.nix
./roles/plasma.nix ./system/plasma.nix
./fragments/opengl.nix ./system/fragments/opengl.nix
./roles/gaming.nix ./system/gaming.nix
./roles/hyprland.nix ./system/hyprland.nix
hmModule (hmModuleDefaults // {
home-manager.users."${username}" = import ./hosts/slab/home.nix;
})
]; ];
}; };
nullbox = lib.nixosSystem { nullbox = lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
./hosts/nullbox/configuration.nix ./hosts/nullbox/configuration.nix
./roles/remote.nix ./system/remote.nix
./roles/plasma.nix ./system/plasma.nix
./fragments/hardware/nvidia-modeset.nix ./system/fragments/hardware/nvidia-modeset.nix
./roles/gaming.nix ./system/gaming.nix
hmModule (hmModuleDefaults // { hmModule (hmModuleDefaults // {
home-manager.users."${username}" = import ./home.nix; home-manager.users."${username}" = import ./hosts/nullbox/home.nix;
}) })
]; ];

View File

@ -7,6 +7,4 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
btop btop
]; ];
home.stateVersion = "23.11";
} }

8
hosts/nullbox/home.nix Normal file
View File

@ -0,0 +1,8 @@
{ lib, pkgs, osConfig, ... }:
{
imports = [
../../home/common.nix
];
home.stateVersion = "23.11";
}

8
hosts/slab/home.nix Normal file
View File

@ -0,0 +1,8 @@
{ lib, pkgs, osConfig, ... }:
{
imports = [
../../home/common.nix
];
home.stateVersion = "23.11";
}

View File

@ -1,7 +1,7 @@
{ config, lib, pkgs, ...}: { config, lib, pkgs, ...}:
{ {
imports = [ imports = [
../fragments/base.nix ./fragments/base.nix
../fragments/me.nix ./fragments/me.nix
]; ];
} }

View File

@ -3,10 +3,10 @@
{ {
imports = [ imports = [
./base.nix ./base.nix
../fragments/sound.nix ./fragments/sound.nix
../fragments/multimedia.nix ./fragments/multimedia.nix
../fragments/software/syncthing.nix ./fragments/software/syncthing.nix
../fragments/hardware/bluetooth.nix ./fragments/hardware/bluetooth.nix
]; ];
# Enable the X11 windowing system. # Enable the X11 windowing system.

View File

@ -41,6 +41,7 @@
inetutils inetutils
socat socat
nmap nmap
hping
# system utilities # system utilities
htop htop