This commit is contained in:
albert 2024-11-18 20:48:16 +01:00
parent 8bd0ccc93d
commit 9d6ee59233
Signed by: albert
GPG key ID: 3895DD267CA11BA9
9 changed files with 10 additions and 15 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, system, ... }: { { pkgs, ... }: {
# List packages installed in system profile # List packages installed in system profile
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
unzip # Better unzip packages unzip # Better unzip packages

View file

@ -1,4 +1,4 @@
{ inputs, lib, pkgs, hostname, stateVersion, username, desktop, system, ... }: { { inputs, lib, hostname, username, desktop, ... }: {
imports = [ imports = [
# Modules # Modules
inputs.disko.nixosModules.disko inputs.disko.nixosModules.disko
@ -11,7 +11,6 @@
./common/services/tailscale.nix ./common/services/tailscale.nix
./common/services/gnupg-agent.nix ./common/services/gnupg-agent.nix
./common/services/opensnitch.nix ./common/services/opensnitch.nix
./common/services/geoclue.nix
# Software # Software
./common/software/cli/clean-hm.nix ./common/software/cli/clean-hm.nix

View file

@ -10,6 +10,7 @@
../../common/services/podman.nix ../../common/services/podman.nix
../../common/services/tailscale-autoconnect.nix ../../common/services/tailscale-autoconnect.nix
../../common/modules/builder.nix ../../common/modules/builder.nix
../../common/services/geoclue.nix
]; ];
#### TEMPORARY TODO #### #### TEMPORARY TODO ####
@ -37,10 +38,6 @@
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand"; powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
# Set your time zone.
time.timeZone = "Europe/Warsaw";
services.automatic-timezoned.enable = true;
# Set the networking hostname: # Set the networking hostname:
networking.hostName = "nixos-desktop"; networking.hostName = "nixos-desktop";

View file

@ -11,6 +11,7 @@
# ../../common/modules/yubikey-auth.nix # ../../common/modules/yubikey-auth.nix
../../common/modules/builder.nix ../../common/modules/builder.nix
../../common/services/podman.nix ../../common/services/podman.nix
../../common/services/geoclue.nix
]; ];
hardware.bluetooth.enable = true; # enables support for Bluetooth hardware.bluetooth.enable = true; # enables support for Bluetooth

View file

@ -1,11 +1,11 @@
{ config, lib, pkgs, modulesPath, desktop, username, ... }: { { lib, ... }: {
boot = { boot = {
initrd.kernelModules = [ ]; initrd.kernelModules = [ ];
kernelModules = [ "iptable_nat" "iptable_filter" "xt_nat" ]; kernelModules = [ "iptable_nat" "iptable_filter" "xt_nat" ];
extraModulePackages = [ ]; extraModulePackages = [ ];
}; };
time.timeZone = "Asia/Tokyo"; time.timeZone = "Europe/UTC";
networking = { networking = {
hostName = "nixos-linode-img"; hostName = "nixos-linode-img";
@ -13,4 +13,4 @@
enableIPv6 = lib.mkForce false; enableIPv6 = lib.mkForce false;
firewall.allowedTCPPorts = [ 22 ]; firewall.allowedTCPPorts = [ 22 ];
}; };
} }

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: { { ... }: {
services.cron = { services.cron = {
enable = true; enable = true;
systemCronJobs = [ systemCronJobs = [

View file

@ -4,6 +4,7 @@
./disks.nix ./disks.nix
../../common/modules/boot.nix ../../common/modules/boot.nix
../../common/services/tailscale-autoconnect.nix ../../common/services/tailscale-autoconnect.nix
../../common/services/geoclue.nix
]; ];
nixpkgs.config.permittedInsecurePackages = [ nixpkgs.config.permittedInsecurePackages = [
"electron-27.3.11" "electron-27.3.11"
@ -19,8 +20,6 @@
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.bluetooth.enable = true; # enables support for Bluetooth hardware.bluetooth.enable = true; # enables support for Bluetooth
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
# Set your time zone.
time.timeZone = "Asia/Tokyo";
# Set the networking hostname: # Set the networking hostname:
networking.hostName = hostname; networking.hostName = hostname;

View file

@ -1,4 +1,4 @@
{ inputs, lib, pkgs, hostname, stateVersion, username, desktop, system, ... }: { { inputs, lib, hostname, username, desktop, ... }: {
imports = [ imports = [
# Modules # Modules
inputs.disko.nixosModules.disko inputs.disko.nixosModules.disko

View file

@ -9,7 +9,6 @@
./common/services/tailscale.nix ./common/services/tailscale.nix
./common/services/promtail.nix ./common/services/promtail.nix
./common/services/telegraf.nix ./common/services/telegraf.nix
./common/services/geoclue.nix
# Software # Software
./common/software/cli/clean-hm.nix ./common/software/cli/clean-hm.nix