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 = [
|
imports = [
|
||||||
./fish.nix
|
./fish.nix
|
||||||
@@ -19,6 +19,13 @@
|
|||||||
BROWSER = "floorp";
|
BROWSER = "floorp";
|
||||||
TERMINAL = "kitty";
|
TERMINAL = "kitty";
|
||||||
};
|
};
|
||||||
|
home.packages = [
|
||||||
|
pkgs.dconf
|
||||||
|
];
|
||||||
|
|
||||||
|
dconf.enable = true;
|
||||||
|
|
||||||
|
services.udiskie.enable = true;
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
dconf = {
|
dconf = {
|
||||||
enable = true;
|
|
||||||
settings."org/gnome/shell" = {
|
settings."org/gnome/shell" = {
|
||||||
disable-user-extensions = false;
|
disable-user-extensions = false;
|
||||||
enabled-extensions = with pkgs.gnomeExtensions; [
|
enabled-extensions = with pkgs.gnomeExtensions; [
|
||||||
|
|||||||
@@ -5,26 +5,21 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Bootloader.
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = 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.allowedTCPPorts = [ 22 ];
|
||||||
networking.firewall.allowedUDPPorts = [ ];
|
networking.firewall.allowedUDPPorts = [ ];
|
||||||
# Or disable the firewall altogether.
|
|
||||||
networking.firewall.enable = true;
|
networking.firewall.enable = true;
|
||||||
# xdg.portal.extraPortals = with pkgs; [
|
|
||||||
# xdg-desktop-portal-gtk
|
|
||||||
# ];
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
|
./virtualisation.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "bomba";
|
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