My nixos configuration
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

hyperion home manager

+76 -29
+1
home/configurations/default.nix
··· 1 1 _: { 2 2 nobbz.homeConfigurations."nmelzer@mimas".system = "x86_64-linux"; 3 3 nobbz.homeConfigurations."nmelzer@enceladeus".system = "x86_64-linux"; 4 + nobbz.homeConfigurations."nmelzer@hyperion".system = "aarch64-linux"; 4 5 5 6 nobbz.homeConfigurations."nmelzer@Titan.local" = { 6 7 system = "aarch64-darwin";
+42
home/configurations/nmelzer@hyperion.nix
··· 1 + { 2 + unstable, 3 + self, 4 + ... 5 + }: { 6 + config, 7 + pkgs, 8 + lib, 9 + ... 10 + }: { 11 + config = { 12 + nixpkgs.allowedUnfree = ["vscode"]; 13 + # nixpkgs.config.allowBroken = true; 14 + 15 + activeProfiles = ["development"]; 16 + 17 + dconf.enable = true; 18 + 19 + enabledLanguages = []; 20 + 21 + xsession.enable = lib.mkForce false; 22 + xsession.windowManager.awesome.enable = lib.mkForce false; 23 + xsession.numlock.enable = lib.mkForce false; 24 + 25 + programs.emacs.splashScreen = false; 26 + 27 + home.packages = builtins.attrValues { 28 + inherit (pkgs) handbrake vscode keepassxc nix-output-monitor; 29 + inherit (pkgs.gnome) gnome-tweaks; 30 + inherit (self.packages.aarch64-linux) gnucash-de; 31 + }; 32 + 33 + programs.htop = { 34 + settings = { 35 + detailed_cpu_time = true; 36 + }; 37 + }; 38 + }; 39 + # environment.pathsToLink = [ "/share/zsh" ]; 40 + } 41 + # /nix/store/7skqa8vxfydq7w3cix55ffvkmjb3b5da-python-2.7.18 42 +
+1 -1
home/modules/misc/home/default.nix
··· 9 9 lib, 10 10 ... 11 11 }: let 12 - self' = self.packages.x86_64-linux; 12 + self' = self.packages.${pkgs.system}; 13 13 in { 14 14 profiles.base.enable = true; 15 15 fonts.fontconfig.enable = true;
+5 -5
home/modules/profiles/base/default.nix
··· 6 6 }: let 7 7 cfg = config.profiles.base; 8 8 9 - inherit (self.packages.x86_64-linux) emacs; 9 + inherit (self.packages.${pkgs.system}) emacs; 10 10 inherit (lib.hm) dag; 11 11 12 12 # TODO: make these a bit more nice, so that repeating the hosts and individual config isn't necessary. ··· 44 44 home.keyboard.layout = "de"; 45 45 home.packages = [pkgs.hydra-check] ++ lib.optionals pkgs.stdenv.isLinux [pkgs.dconf]; 46 46 47 - dconf.enable = lib.mkMerge [ 48 - (lib.mkIf pkgs.stdenv.isLinux true) 49 - (lib.mkIf pkgs.stdenv.isDarwin false) 50 - ]; 47 + # dconf.enable = lib.mkMerge [ 48 + # (lib.mkIf pkgs.stdenv.isLinux true) 49 + # (lib.mkIf pkgs.stdenv.isDarwin false) 50 + # ]; 51 51 52 52 xsession = { 53 53 enable = true;
+1 -1
home/modules/profiles/browsing/default.nix
··· 14 14 15 15 config = lib.mkIf cfg.enable { 16 16 nixpkgs.config = {google-chrome = {enableWideVine = true;};}; 17 - home.packages = with pkgs; [self.packages.x86_64-linux.google-chrome lynx]; 17 + home.packages = with pkgs; [self.packages.${pkgs.system}.google-chrome lynx]; 18 18 }; 19 19 }
+1 -1
home/modules/programs/advcp/default.nix
··· 11 11 }; 12 12 13 13 config = lib.mkIf cfg.enable { 14 - home.packages = [self.packages.x86_64-linux.advcp]; 14 + home.packages = [self.packages.${pkgs.system}.advcp]; 15 15 16 16 programs.zsh.shellAliases = { 17 17 cp = "advcp -g";
+24 -20
nixos/configurations/hardware/hyperion.nix
··· 1 1 # Do not modify this file! It was generated by ‘nixos-generate-config’ 2 2 # and may be overwritten by future invocations. Please make changes 3 3 # to /etc/nixos/configuration.nix instead. 4 - { config, lib, pkgs, modulesPath, ... }: 5 - 6 4 { 7 - imports = 8 - [ (modulesPath + "/profiles/qemu-guest.nix") 9 - ]; 5 + config, 6 + lib, 7 + pkgs, 8 + modulesPath, 9 + ... 10 + }: { 11 + imports = [ 12 + (modulesPath + "/profiles/qemu-guest.nix") 13 + ]; 10 14 11 - boot.initrd.availableKernelModules = [ "xhci_pci" "virtio_pci" "usbhid" "usb_storage" "sr_mod" ]; 12 - boot.initrd.kernelModules = [ ]; 13 - boot.kernelModules = [ ]; 14 - boot.extraModulePackages = [ ]; 15 + boot.initrd.availableKernelModules = ["xhci_pci" "virtio_pci" "usbhid" "usb_storage" "sr_mod"]; 16 + boot.initrd.kernelModules = []; 17 + boot.kernelModules = []; 18 + boot.extraModulePackages = []; 15 19 16 - fileSystems."/" = 17 - { device = "/dev/disk/by-uuid/1c2c9f5f-041a-400d-9bfb-7b25639dff4f"; 18 - fsType = "ext4"; 19 - }; 20 + fileSystems."/" = { 21 + device = "/dev/disk/by-uuid/1c2c9f5f-041a-400d-9bfb-7b25639dff4f"; 22 + fsType = "ext4"; 23 + }; 20 24 21 - fileSystems."/boot/efi" = 22 - { device = "/dev/disk/by-uuid/0A83-6143"; 23 - fsType = "vfat"; 24 - }; 25 + fileSystems."/boot/efi" = { 26 + device = "/dev/disk/by-uuid/0A83-6143"; 27 + fsType = "vfat"; 28 + }; 25 29 26 - swapDevices = 27 - [ { device = "/dev/disk/by-uuid/d0a59a01-aa79-4ec6-aec0-b299be6c1157"; } 28 - ]; 30 + swapDevices = [ 31 + {device = "/dev/disk/by-uuid/d0a59a01-aa79-4ec6-aec0-b299be6c1157";} 32 + ]; 29 33 30 34 # Enables DHCP on each ethernet and wireless interface. In case of scripted networking 31 35 # (the default) this is the recommended approach. When using systemd-networkd it's
+1 -1
nixos/configurations/hyperion.nix
··· 1 - _: {pkgs,...}: { 1 + _: {pkgs, ...}: { 2 2 nix.allowedUnfree = ["zerotierone"]; 3 3 4 4 networking.hostName = "hyperion";