From 7a9386564b22aaa918a72ee8ba07924b5288410f Mon Sep 17 00:00:00 2001 From: tzlil Date: Sun, 30 Jul 2023 00:34:05 +0300 Subject: idk --- hosts/default.nix | 1 + hosts/navi/default.nix | 48 +++++++++++++++++------------------ hosts/navi/hardware-configuration.nix | 3 +++ 3 files changed, 28 insertions(+), 24 deletions(-) (limited to 'hosts') diff --git a/hosts/default.nix b/hosts/default.nix index 0b9bd1c..3d181bb 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -6,6 +6,7 @@ inputs: let ../profiles/tzlil.nix ../profiles/security.nix ../profiles/ssh.nix + ../profiles/network.nix ]; } inputs.agenix.nixosModules.age diff --git a/hosts/navi/default.nix b/hosts/navi/default.nix index a8702a8..353b7e1 100644 --- a/hosts/navi/default.nix +++ b/hosts/navi/default.nix @@ -45,22 +45,22 @@ time.timeZone = lib.mkDefault "Israel"; - # fileSystems."/" = { - # device = "none"; - # fsType = "tmpfs"; - # # hyprland doesnt compile with noexec root - # options = ["defaults" "size=8G" "mode=755"]; - # }; + fileSystems."/" = { + device = "none"; + fsType = "tmpfs"; + # hyprland doesnt compile with noexec root + options = ["defaults" "size=8G" "mode=755"]; + }; - # fileSystems."/boot" = { - # device = "/dev/disk/by-uuid/34CB-F158"; - # fsType = "vfat"; - # }; + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/34CB-F158"; + fsType = "vfat"; + }; - # fileSystems."/nix" = { - # device = "/dev/disk/by-uuid/8a8cc550-034e-4545-a958-564779f51061"; - # fsType = "btrfs"; - # }; + fileSystems."/nix" = { + device = "/dev/disk/by-uuid/8a8cc550-034e-4545-a958-564779f51061"; + fsType = "btrfs"; + }; zramSwap = { enable = true; @@ -119,16 +119,16 @@ programs.steam.enable = true; - # programs.firejail.wrappedBinaries = { - # mullvad-browser = { - # executable = lib.getExe pkgs.mullvad-browser; - # extraArgs = [ - # "--env=MOZ_ENABLE_WAYLAND=1" - # "--env=GTK_THEME=Adwaita:dark" - # ]; - # # profile = "${pkgs.firejail}/etc/firejail/firefox.profile"; - # }; - # }; + programs.firejail.wrappedBinaries = { + mullvad-browser = { + executable = lib.getExe pkgs.mullvad-browser; + extraArgs = [ + "--env=MOZ_ENABLE_WAYLAND=1" + "--env=GTK_THEME=Adwaita:dark" + ]; + # profile = "${pkgs.firejail}/etc/firejail/firefox.profile"; + }; + }; # greeter.initialSession = "${pkgs.fish}/bin/fish"; diff --git a/hosts/navi/hardware-configuration.nix b/hosts/navi/hardware-configuration.nix index 7b24c68..15442df 100644 --- a/hosts/navi/hardware-configuration.nix +++ b/hosts/navi/hardware-configuration.nix @@ -23,6 +23,8 @@ in { hardware.bluetooth.enable = true; + + /* disko.devices = { disk.${baseNameOf device} = { inherit device; @@ -68,4 +70,5 @@ in { ]; }; }; + */ } -- cgit 1.4.1