Skip to content

Commit

Permalink
chore: fix statix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelreyrol committed Jan 22, 2025
1 parent 4b4f125 commit 51c5301
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion ReadMe.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# nixos-config

[![built with nix](https://builtwithnix.org/badge.svg)](https://builtwithnix.org)
[![Built with Nix](https://img.shields.io/badge/Built_With-Nix-5277C3.svg?logo=nixos)](https://builtwithnix.org/)
[![.github/workflows/ci.yml](https://github.com/gaelreyrol/nixos-config/actions/workflows/ci.yml/badge.svg)](https://github.com/gaelreyrol/nixos-config/actions/workflows/ci.yml)

## Setup
Expand Down
18 changes: 9 additions & 9 deletions hosts/tower/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,15 @@
../../mixins/docker.nix
];

networking.hostName = "tower";
networking = {
hostName = "tower";
firewall = {
# expo.dev
interfaces.eno1.allowedTCPPorts = [ 8081 ];
# Allow Docker containers to reach PHPStorm debugging sessions
extraCommands = "iptables -I nixos-fw -p tcp -m tcp -m multiport --dports 9000:9003 -j ACCEPT";
};
};

console.keyMap = "us";

Expand Down Expand Up @@ -50,12 +58,4 @@
programs.ccache.enable = true;
programs.ccache.packageNames = [ ];
nix.settings.extra-sandbox-paths = [ config.programs.ccache.cacheDir ];

# expo.dev
networking.firewall.interfaces.eno1.allowedTCPPorts = [ 8081 ];

# Allow Docker containers to reach PHPStorm debugging sessions
networking.firewall = {
extraCommands = "iptables -I nixos-fw -p tcp -m tcp -m multiport --dports 9000:9003 -j ACCEPT";
};
}
4 changes: 2 additions & 2 deletions lib/os/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ rec {
useGlobalPkgs = true;
useUserPackages = true;
users.${user} = builtins.import ../../users/${user}/home.nix;
sharedModules = [ ] ++ (nixpkgs.lib.optionals (!iso) [
sharedModules = nixpkgs.lib.optionals (!iso) [
sops-nix.homeManagerModules.sops
_1password-shell-plugins.hmModules.default
]);
];
};
} // (nixpkgs.lib.optionalAttrs (!iso) {
sops = {
Expand Down

0 comments on commit 51c5301

Please sign in to comment.