Compare commits

..

7 Commits

Author SHA1 Message Date
dba5dfa3d1 Update signal-desktop to unstable
This fixes linking of new devices.
2024-12-08 08:52:28 +01:00
a18c6d1710 Enable bluetooth 2024-10-29 13:52:37 +01:00
0170f8451a Add gnumake awscli2 2024-10-29 13:45:47 +01:00
a62a33823f Enable steam 2024-10-29 13:45:47 +01:00
a2924a641b Add poetry file 2024-10-29 13:45:42 +01:00
e6e2d18dac Switch tz to Europe/Berlin 2024-10-11 02:58:53 +02:00
6543a21bb6 Add python3, dig 2024-10-04 15:10:45 -05:00

View File

@ -4,6 +4,12 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
let unstable = import (builtins.fetchTarball {
name = "nixos-unstable-2024-12-08";
url = "https://github.com/NixOS/nixpkgs/archive/868be2c9df2ffdb40b6aee3d156f1df603555539.tar.gz";
sha256 = "0s7xzhv4a98j6kbas1q4pd3ln1l5hfamp4db4wx5mif0110n5scv";
}) {};
in
{ {
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
imports = imports =
@ -26,7 +32,7 @@
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
# Set your time zone. # Set your time zone.
time.timeZone = "America/Chicago"; time.timeZone = "Europe/Berlin";
# Configure network proxy if necessary # Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/"; # networking.proxy.default = "http://user:password@proxy:port/";
@ -66,6 +72,7 @@
# Enable sound. # Enable sound.
sound.enable = true; sound.enable = true;
hardware.pulseaudio.enable = true; hardware.pulseaudio.enable = true;
hardware.pulseaudio.extraConfig = "load-module module-switch-on-connect";
# Enable touchpad support (enabled default in most desktopManager). # Enable touchpad support (enabled default in most desktopManager).
services.xserver.libinput.enable = true; services.xserver.libinput.enable = true;
@ -90,8 +97,8 @@
domain = "git.ekzy.is"; domain = "git.ekzy.is";
owner = "ekzyis"; owner = "ekzyis";
repo = "dwmstatus"; repo = "dwmstatus";
rev = "b0afd6e"; rev = "6c078d4";
hash = "sha256-TVkcvWcBnGkES8BjL7ZcavUo8C14H7Xj0mt9RBConmY="; hash = "sha256-9ibrM0ZOJUC5YsSZjpqcw4GyeBmtyGaGFausjL96yTo=";
}; };
buildInputs = [ xorg.libX11 ]; buildInputs = [ xorg.libX11 ];
installPhase = '' installPhase = ''
@ -134,7 +141,7 @@
neovim neovim
docker-compose docker-compose
nodejs nodejs
signal-desktop unstable.signal-desktop
telegram-desktop telegram-desktop
rustup gcc pkg-config rustup gcc pkg-config
gimp gimp
@ -146,7 +153,13 @@
obs-studio obs-studio
jq jq
firefox firefox
google-chrome #google-chrome
python3
poetry
dig
file
gnumake
awscli2
]; ];
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
@ -154,6 +167,9 @@
(nerdfonts.override { fonts = [ "Hack" ]; }) (nerdfonts.override { fonts = [ "Hack" ]; })
]; ];
# steam
# programs.steam.enable = true;
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
# started in user sessions. # started in user sessions.
# programs.mtr.enable = true; # programs.mtr.enable = true;
@ -168,6 +184,11 @@
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
services.openssh.enable = true; services.openssh.enable = true;
# Enable bluetooth
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
services.blueman.enable = true;
# Open ports in the firewall. # Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];