From c0378866356b182206aa7ad47f1139cf37f697f4 Mon Sep 17 00:00:00 2001 From: lassulus Date: Mon, 12 Dec 2022 19:10:52 +0100 Subject: RIP jeschli --- jeschli/1systems/brauerei/config.nix | 200 --------------------- .../1systems/brauerei/hardware-configuration.nix | 34 ---- 2 files changed, 234 deletions(-) delete mode 100644 jeschli/1systems/brauerei/config.nix delete mode 100644 jeschli/1systems/brauerei/hardware-configuration.nix (limited to 'jeschli/1systems/brauerei') diff --git a/jeschli/1systems/brauerei/config.nix b/jeschli/1systems/brauerei/config.nix deleted file mode 100644 index 860c5d1..0000000 --- a/jeschli/1systems/brauerei/config.nix +++ /dev/null @@ -1,200 +0,0 @@ -{ config, pkgs, lib, ... }: -let - mainUser = config.krebs.build.user.name; - unstable = import { config = { allowUnfree = true; }; }; -in -{ - imports = [ - - ./hardware-configuration.nix - - - - - - ]; - krebs.build.host = config.krebs.hosts.brauerei; - # Use the GRUB 2 boot loader. - boot.loader.grub.enable = true; - boot.loader.grub.version = 2; - boot.loader.grub.efiSupport = true; - # Define on which hard drive you want to install Grub. - boot.loader.grub.device = "/dev/sda"; - # or "nodev" for efi only - boot.initrd.luks.devices = [ { - name = "root"; - device = "/dev/sda2"; - preLVM = true; - allowDiscards = true; - } ]; - networking.networkmanager.enable = true; - time.timeZone = "Europe/Amsterdam"; - - nixpkgs.config.allowUnfree = true; - - environment.shellAliases = { - # emacs aliases - ed = "emacsclient"; - edc = "emacsclient --create-frame"; - # nix aliases - ns = "nix-shell"; - # krops - deploy = pkgs.writeDash "deploy" '' - set -eu - export SYSTEM="$1" - $(nix-build $HOME/stockholm/jeschli/krops.nix --no-out-link --argstr name "$SYSTEM" -A deploy) - ''; - }; - - environment.systemPackages = with pkgs; [ - # system helper - acpi - ag - copyq - curl - dmenu - aspell - ispell - rofi - xdotool - git - gnupg - i3lock - keepass - networkmanagerapplet - pavucontrol - rsync - terminator - tmux - wget - # editors - emacs - # internet - chromium - firefox - google-chrome - thunderbird - # programming languages - elixir - elmPackages.elm - exercism - gcc9 - ccls - unstable.clang_8 - ghc - go - python37 - python37Packages.pip - pipenv - # dev tools - gnumake - jetbrains.clion - jetbrains.goland - jetbrains.pycharm-professional - jetbrains.webstorm - vscode - # document viewer - evince - zathura - # go tools - golint - gotools - # rust - cargo - rustracer - rustup - # orga tools - taskwarrior - # xorg - xorg.xbacklight - # tokei - tokei - ]; - - # Some programs need SUID wrappers, can be configured further or are - # started in user sessions. - # programs.bash.enableCompletion = true; - # programs.mtr.enable = true; - programs.gnupg.agent = { enable = true; enableSSHSupport = true; }; - -# home-manager.useUserPackages = true; -# home-manager.users.jeschli = { -# home.stateVersion = "19.03"; -# }; -# home-manager.enable = true; - -# home-manager.users.jeschli.home.file = { -# ".emacs.d" = { -# source = pkgs.fetchFromGitHub { -# owner = "jeschli"; -# repo = "emacs.d"; -# rev = "8ed6c40"; -# sha256 = "1q2y478srwp9f58l8cixnd2wj51909gp1z68k8pjlbjy2mrvibs0"; -# }; -# recursive = true; -# }; -# }; - - # List services that you want to enable: - - # Enable the OpenSSH daemon. - services.openssh.enable = true; -# services.emacs.enable = true; - - virtualisation.docker.enable = true; - - services.xserver = { - enable = true; - - desktopManager = { - xfce.enable = true; - gnome3.enable = true; - }; - - }; - - services.xserver.windowManager.i3.enable = true; - - users.extraUsers.jeschli = { # TODO: define as krebs.users - isNormalUser = true; - extraGroups = ["docker" "vboxusers" "audio"]; - uid = 1000; - }; - users.extraUsers.blafoo = { - isNormalUser = true; - extraGroups = ["audio"]; - uid = 1002; - }; - users.extraUsers.jamie = { - isNormalUser = true; - uid = 1001; # TODO genid - }; - users.users.dev = { - isNormalUser = true; - openssh.authorizedKeys.keys = [ - config.krebs.users.lass.pubkey - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDB0d0JA20Vqn7I4lCte6Ne2EOmLZyMJyS9yIKJYXNLjbLwkQ4AYoQKantPBkTxR75M09E7d3j5heuWnCjWH45TrfQfe1EOSSC3ppCI6C6aIVlaNs+KhAY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c2EAAAADAQABAAACAQC1x9+OtNfwv6LxblnLHeBElxoxLfaYUyvqMrBgnrlkaPjylPv711bvPslnt+YgdPsZQLCoQ2t5f0x0j7ZOMYE9eyRrnr67ITO+Od05u3eCypWOZulekkDL0ZDeYdvoZKOWnbKWnQVRfYuLOEL/g5/9E7MLtIdID8e98b/qHzs/+wmuuDR3zHCNic0BKixgET/EgFvLWezWxJ6D/TTv/5sDAfrC+RUN8ad14sxjKIkS3nkAlm8bhrCxQKaHLUcCJWiweW0gPWYSlp64VHS5lchvqCJlPYQdx0XbwolvlLYru0w74ljLbi3eL35GFFyHSeEjQ73EtVwo53uVKTy7SAORU7JNg6xL9H3ChOLOknN9oHs1K7t/maMsATle0HAFcTuaOhELUmHM8dCJh3nPVWIkzHQ4o3fyaogrpt7/V5j6R1/Ozn7P9n4OdqrjiaWqHlz/XHeYNNWte+a0EW+NubC83yS0Cu3uhZ36C3RET2vNM25CyYOBn4ccClAozayQIb6Cif0tCafMRPgkSlogQd8+SqNZpTnmtllIT3VnT5smgrufy6HETDkrHjApDrsqLtMCFY83RFwt4QLv/L93O7IsGifzmEfD9qD7YBSMNs8ihBIUXPk9doHXvYS506YroxWOxe/C0rzzbaogxQT6JMd1ozfXitRD9v7iBIFAT4Kzjw== christopher.kilian@dcso.de" - ]; - }; - - - users.users.root.openssh.authorizedKeys.keys = [ - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAEZgHR1ZPDBMUjGWar/QmI2GiUkZM8pAXRyBDh8j3hGlxlS+0lsBV6bTAI5F13iyzTC4pCuEuDO2OlFB0scwjcOATci8phd8jTjOIDodqDaeQZXbshyuUBfyiAV6q0Sc+cUDV3D6GhzigH3t8EiQmvXmUGm916yFotT12o0dm83SCOh1nAf9ZveC1Hz/eEUTvgWvIb58OdUR5F/S5OVBnIIJZ8tcp0BP9lyjjJCcANWkYJlwaVcNNb0UarCRhvRtptFj+e/EPqQxSCaS2QcxW4zBsQ6C81TFf7WrdH+pwtFg0owlWsxv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DQNpKn+le3CeGUl5UUuvK2BpKGrbPKx0i/2ZSEMxNA5GnDMx/NyiNyDBcoPu/XOlNi8VWsEbCtoTQRamvqHjOmNcPrxCxds+TaF8c0wMR720yj5sWq8= jeschli@nixos" - ]; - - # This value determines the NixOS release with which your system is to be - # compatible, in order to avoid breaking some software such as database - # servers. You should change this only after NixOS release notes say you - # should. - system.stateVersion = "17.09"; # Did you read the comment? - - hardware.trackpoint = { - enable = true; - sensitivity = 220; - speed = 0; - emulateWheel = true; - }; - -} diff --git a/jeschli/1systems/brauerei/hardware-configuration.nix b/jeschli/1systems/brauerei/hardware-configuration.nix deleted file mode 100644 index 2cb3e66..0000000 --- a/jeschli/1systems/brauerei/hardware-configuration.nix +++ /dev/null @@ -1,34 +0,0 @@ -# Do not modify this file! It was generated by ‘nixos-generate-config’ -# and may be overwritten by future invocations. Please make changes -# to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, ... }: - -{ - imports = - [ - ]; - - boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "sd_mod" "sdhci_pci" ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/e264fc21-45bb-4224-93fc-b0e19c2c3478"; - fsType = "ext4"; - }; - - fileSystems."/home" = - { device = "/dev/disk/by-uuid/bd0846ce-7d39-4329-bcb4-7c76becd6ab1"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/42BF-0795"; - fsType = "vfat"; - }; - - swapDevices = [ ]; - - hardware.pulseaudio.enable = true; - nix.maxJobs = lib.mkDefault 4; -} -- cgit v1.2.3