Compare commits

..

5 Commits

Author SHA1 Message Date
bbbd1a58ac flake-parts: rename lib' to conf
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2024-05-27 20:07:28 +05:30
a4ead48326 hosts/xorg: get rid of rename warning
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2024-05-27 20:01:02 +05:30
dbf781407c hosts/okina: init
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2024-05-27 19:57:56 +05:30
854d9ec093 satori: get rid of rename warning
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2024-05-27 19:56:42 +05:30
08fdf5f3af hosts: rearrange modules a bit
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2024-05-27 19:50:20 +05:30
4 changed files with 9 additions and 6 deletions

View File

@@ -13,7 +13,7 @@ let
./desktop-pkgs.nix ./desktop-pkgs.nix
./sound.nix ./sound.nix
]; ];
serverModules = [ ./minimal.nix ]; serverModules = [ ./modules/minimal.nix ];
in in
{ {
flake.nixosConfigurations = { flake.nixosConfigurations = {
@@ -52,7 +52,7 @@ in
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
./remilia ./remilia
./x86builder.nix ./modules/x86builder.nix
inputs.mailserver.nixosModules.mailserver inputs.mailserver.nixosModules.mailserver
] ]
++ commonModules ++ commonModules
@@ -64,7 +64,7 @@ in
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
./hina ./hina
./x86builder.nix ./modules/x86builder.nix
] ]
++ commonModules ++ commonModules
++ serverModules; ++ serverModules;

View File

@@ -8,7 +8,7 @@ in
openssh = { openssh = {
enable = true; enable = true;
settings.PermitRootLogin = "yes"; permitRootLogin = "yes";
ports = [ 22 ]; ports = [ 22 ];
}; };

View File

@@ -20,6 +20,7 @@
vim vim
tmux tmux
wireguard-tools wireguard-tools
rnix-lsp
nmap nmap
gcc gcc
]; ];
@@ -28,14 +29,16 @@
gnupg = { gnupg = {
agent = { agent = {
enable = true; enable = true;
pinentryFlavor = "curses";
}; };
}; };
}; };
nix = { nix = {
package = pkgs.nixUnstable;
extraOptions = '' extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes
''; '';
settings.trusted-users = [ "root" ]; settings.trusted-users = [ "root" "spark" ];
}; };
} }

View File

@@ -7,7 +7,7 @@ in
cron.enable = true; cron.enable = true;
openssh = { openssh = {
enable = true; enable = true;
settings.PermitRootLogin = "yes"; permitRootLogin = "yes";
ports = [ 22 22002 ]; ports = [ 22 22002 ];
}; };
nginx = { nginx = {