From 189cda4bedd0d197ca5c154e8a8e3d7aa9f8351f Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Thu, 4 Feb 2021 23:00:17 +0100 Subject: machines/sternenseemann/fliewatuet: remove This machine has been replaced and now runs Windows for playing minecraft mostly. --- machines/sternenseemann/fliewatuet.nix | 275 --------------------------------- 1 file changed, 275 deletions(-) delete mode 100644 machines/sternenseemann/fliewatuet.nix (limited to 'machines') diff --git a/machines/sternenseemann/fliewatuet.nix b/machines/sternenseemann/fliewatuet.nix deleted file mode 100644 index 9daa9ea1..00000000 --- a/machines/sternenseemann/fliewatuet.nix +++ /dev/null @@ -1,275 +0,0 @@ -{ config, lib, pkgs, ... }: - -let - myPkgs = import ./pkgs.nix { inherit pkgs lib; }; - -in { - nixpkgs.config.allowUnfree = true; - - # hardware - boot.blacklistedKernelModules = [ "nouveau" "nvidia" ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.initrd.luks.devices.crypted.device = "/dev/sda2"; - - fileSystems."/" = { - device = "/dev/dm-0"; - fsType = "btrfs"; - }; - fileSystems."/boot/" = { - device = "/dev/sda1"; - fsType = "vfat"; - }; - - swapDevices = [ ]; - - nix.maxJobs = 8; - nix.useSandbox = true; - nix.extraOptions = "gc-keep-derivations = false"; - - boot.loader.systemd-boot.enable = true; - boot.loader.timeout = 5; - boot.loader.efi.canTouchEfiVariables = true; - - # limit journal size - services.journald.extraConfig = "SystemMaxUse=100M"; - - # sound - # fix sound - boot.extraModprobeConfig = '' - options snd-hda-intel index=1,0 enable_msi=1 - ''; - - hardware.pulseaudio = { - enable = true; - support32Bit = true; - package = pkgs.pulseaudioFull; - zeroconf.discovery.enable = true; - daemon.config.flat-volumes = "no"; - }; - - hardware.bluetooth.enable = true; - - hardware.opengl.driSupport32Bit = true; - hardware.enableRedistributableFirmware = true; - - hardware.trackpoint = { - enable = true; - emulateWheel = true; - speed = 250; - sensitivity = 140; - }; - - networking.hostName = "fliewatuet"; - networking.firewall.enable = false; - - networking.supplicant = { - wlp4s0 = { - configFile.path = "/etc/wpa_supplicant.conf"; - userControlled.enable = true; - userControlled.group = "users"; - driver = "wext"; - extraConf = '' - ap_scan=1 - ''; - }; - }; - - - i18n = { - defaultLocale = "en_US.UTF-8"; - }; - - console = { - font = "Lat2-Terminus16"; - keyMap = "de-latin1"; - }; - - time.timeZone = "Europe/Berlin"; - - environment.systemPackages = with pkgs; [ - ## tools - remind - pass - wget - curl - stow - scrot - dmenu - mosh - gnupg - signing-party - pinentry - gpgme - sudo - silver-searcher - graphicsmagick - mkpasswd - nmap - file - zip - unzip - atool - manpages - man_db - sshuttle - youtube-dl - psmisc - bar-xft - unison - ddate - # aspell - aspell - aspellDicts.en - aspellDicts.de - - ## dev - git - neovim - ghc - cabal-install - haskellPackages.cabal2nix - - ## applications - tmux - htop - mutt - tor - torbrowser - zathura - msmtp - isync - notmuch - irssi - myPkgs.texlive - firefox - chromium - surf - elinks - termite - imv - gimp - rawtherapee - pavucontrol - cbatticon - filezilla - screen-message - jackline - w3m - - ## GUI - # wm etc. - xdotool - xbindkeys - alock - dunst - libnotify - xorg.xbacklight - hicolor_icon_theme - xsel - - ## audio / video - myPkgs.mpv - spotify - audacity - lame - ffmpeg - beets - - ## services - acpi - - ## games - steam - ]; - - fonts.fontconfig = { - defaultFonts = { - monospace = [ "Inconsolata" ]; - sansSerif = [ "Open Sans" ]; - serif = [ "Linux Libertine" ]; - }; - ultimate = { - enable = true; - substitutions = "combi"; - }; - }; - - fonts.fonts = with pkgs; [ - corefonts - opensans-ttf - dejavu_fonts - inconsolata - tewi-font - libertine - google-fonts - shrikhand # because not in google fonts :( - xorg.fontbitstream100dpi - xorg.fontbitstreamtype1 - freefont_ttf - unifont - unifont_upper - poly - junicode - ]; - - # to make Ctrl-Shift-t work in termite - environment.etc."vte.sh" = { source = "${pkgs.gnome3.vte}/etc/profile.d/vte.sh"; }; - - services.openssh.enable = true; - - services.tor = { - enable = true; - controlPort = 9051; - }; - - services.printing = { - enable = true; - drivers = [ pkgs.gutenprint ]; - }; - - services.tlp.enable = true; - - # Enable the X11 windowing system. - services.xserver = { - enable = true; - layout = "de"; - xkbVariant = "neo"; - - desktopManager.xterm.enable = false; - windowManager.herbstluftwm.enable = true; - - displayManager = { - sessionCommands = - '' - ${pkgs.redshift}/bin/redshift -c .redshift & - ${pkgs.xorg.xmodmap}/bin/xmodmap -e "pointer = 1 25 3 4 5 6 7 8 9" - ${pkgs.xbindkeys}/bin/xbindkeys - ${pkgs.cbatticon}/bin/cbatticon & - ''; - }; - - synaptics.enable = true; - synaptics.tapButtons = false; - synaptics.twoFingerScroll = false; - - videoDrivers = [ "intel" ]; - }; - - programs.fish.enable = true; - - users.mutableUsers = false; - users.users.lukas = { - isNormalUser = true; - uid = 1000; - home = "/home/lukas"; - shell = "/run/current-system/sw/bin/fish"; - group = "users"; - passwordFile = "/home/lukas/.config/passwd"; - extraGroups = [ "audio" "wheel" "networkmanager" ]; - }; - - system.stateVersion = "unstable"; - - programs.ssh.startAgent = false; -} -- cgit 1.4.1