mirror of
https://github.com/Superredstone/nixos.git
synced 2026-03-07 20:28:08 +01:00
Minor server changes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ currentSystemUser, currentSystemDe, ... }:
|
||||
{ currentSystemUser, currentSystemDe, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./fish.nix
|
||||
@@ -19,6 +19,13 @@
|
||||
BROWSER = "floorp";
|
||||
TERMINAL = "kitty";
|
||||
};
|
||||
home.packages = [
|
||||
pkgs.dconf
|
||||
];
|
||||
|
||||
dconf.enable = true;
|
||||
|
||||
services.udiskie.enable = true;
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
dconf = {
|
||||
enable = true;
|
||||
settings."org/gnome/shell" = {
|
||||
disable-user-extensions = false;
|
||||
enabled-extensions = with pkgs.gnomeExtensions; [
|
||||
|
||||
@@ -5,26 +5,21 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
# Enable networking
|
||||
networking.networkmanager.enable = true;
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Rome";
|
||||
time.timeZone = "Europe/Rome";
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
services.openssh.enable = true;
|
||||
services = {
|
||||
openssh.enable = true;
|
||||
udisks2.enable = true;
|
||||
};
|
||||
|
||||
# Open ports in the firewall.
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
networking.firewall.allowedUDPPorts = [ ];
|
||||
# Or disable the firewall altogether.
|
||||
networking.firewall.enable = true;
|
||||
# xdg.portal.extraPortals = with pkgs; [
|
||||
# xdg-desktop-portal-gtk
|
||||
# ];
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
networking.firewall.allowedUDPPorts = [ ];
|
||||
networking.firewall.enable = true;
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
imports = [
|
||||
./configuration.nix
|
||||
./hardware.nix
|
||||
./virtualisation.nix
|
||||
];
|
||||
|
||||
networking.hostName = "bomba";
|
||||
|
||||
4
machines/bomba/virtualisation.nix
Normal file
4
machines/bomba/virtualisation.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
{ currentSystemUser, ... }:
|
||||
{
|
||||
virtualisation.docker.enable = true;
|
||||
}
|
||||
Reference in New Issue
Block a user