summaryrefslogtreecommitdiff
path: root/hosts/sofue
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2024-11-21 19:06:34 -0500
committerAndrew Opalach <andrew@akon.city> 2024-11-21 19:06:34 -0500
commiteab31736ccca20ae095e6914f776f0780f82dde6 (patch)
tree0f6af7ac7a3d1a40e863e10473b0c4758e748429 /hosts/sofue
parent074a3eda14a4cf2032c114e061b45166a17fcfbb (diff)
downloaddotfiles-eab31736ccca20ae095e6914f776f0780f82dde6.tar.gz
dotfiles-eab31736ccca20ae095e6914f776f0780f82dde6.tar.bz2
dotfiles-eab31736ccca20ae095e6914f776f0780f82dde6.zip
Switch to bash, misc
Diffstat (limited to 'hosts/sofue')
-rw-r--r--hosts/sofue/configuration.nix27
1 files changed, 18 insertions, 9 deletions
diff --git a/hosts/sofue/configuration.nix b/hosts/sofue/configuration.nix
index b80b8ac..2765eef 100644
--- a/hosts/sofue/configuration.nix
+++ b/hosts/sofue/configuration.nix
@@ -6,15 +6,17 @@ in rec {
imports = [
"${modulesPath}/virtualisation/lxc-container.nix"
../../nix/system.nix
+ ../../nix/x86.nix
../../nix/user.nix
- ../../nix/scripts.nix
../../nix/audio.nix
../../nix/bluetooth.nix
../../nix/email.nix
- ../../nix/gaming.nix
../../nix/amdgpu.nix
../../nix/mesa_git.nix
- ../../nix/programs/zsh.nix
+ ../../nix/gaming.nix
+ ../../nix/virtualisation.nix
+ ../../nix/scripts.nix
+ ../../nix/programs/bash.nix
../../nix/programs/nvim.nix
../../nix/programs/sway.nix
../../nix/programs/kitty.nix
@@ -64,18 +66,25 @@ in rec {
boot.isContainer = true;
nix.settings.system-features = [ "gccarch-znver2" ];
-# nixpkgs.hostPlatform = {
-# gcc.arch = "znver2";
-# gcc.tune = "znver2";
-# system = "x86_64-linux";
-# };
+ nixpkgs.hostPlatform = {
+ #gcc.arch = "znver2";
+ #gcc.tune = "znver2";
+ system = "x86_64-linux";
+ };
+
+ boot.binfmt.emulatedSystems = [ "armv7l-linux" "aarch64-linux" ];
+ # Only needed in containers.
+ fileSystems."/proc/sys/fs/binfmt_misc" = {
+ device = "binfmt_misc";
+ fsType = "binfmt_misc";
+ };
networking = {
hostName = "sofue";
+ wireless.enable = false;
dhcpcd.enable = false;
useDHCP = false;
useHostResolvConf = false;
- wireless.enable = false;
firewall.enable = false;
extraHosts = ''
192.168.1.192 iroha