diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2021-03-10 21:00:14 -0500 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2021-03-10 21:00:14 -0500 |
commit | 9b84beb2080b08d62806041b3354d8bf21adc0ba (patch) | |
tree | ebfc9d9d82fa6fadb2620cf980a8f5809ecdb33b /machines/firelink.nix | |
parent | a9eb8b90b373e4e955f7c13b2cca798d81cb2b0c (diff) |
Add packages from home-manager
Diffstat (limited to 'machines/firelink.nix')
-rw-r--r-- | machines/firelink.nix | 52 |
1 files changed, 2 insertions, 50 deletions
diff --git a/machines/firelink.nix b/machines/firelink.nix index abe486b..392ffc1 100644 --- a/machines/firelink.nix +++ b/machines/firelink.nix @@ -24,7 +24,6 @@ in { orbekk.gaming.enable = true; orbekk.desktop.enable = true; - orbekk.monitoring-server.enable = true; orbekk.simple-firewall.allowedTCPPorts = [ # pulseaudio @@ -41,6 +40,7 @@ in kodi retroarch wmctrl # for steam launcher + openmw ]; nixpkgs.config.kodi = { enableAdvancedLauncher = true; @@ -113,42 +113,6 @@ in value = "1048576"; }]; - # virtualisation.libvirtd.enable = true; - # virtualisation.virtualbox.host.enable = true; - # virtualisation.virtualbox.host.enableExtensionPack = true; - - # services.jack = { - # jackd.enable = true; - # jackd.extraOptions = [ "-dalsa" "-dhw:M2" ]; - # alsa.enable = false; - # loopback.enable = true; - # }; - # users.extraUsers.guest.extraGroups = [ "jackaudio" ]; - # users.extraUsers.orbekk.extraGroups = [ "jackaudio" ]; - - # Streaming test - # services.nginx.enable = true; - # services.nginx.appendConfig = '' - # rtmp { - # server { - # listen 1935; - # chunk_size 4096; - # application live { - # live on; - # record off; - # } - # } - # } - # ''; - - #systemd.services.duckdns = { - # description = "Update orbekk.duckdns.org"; - # path = [ pkgs.curl ]; - # after = [ "network.target" ]; - # script = let token = (import ../duckdns-token.nix).token; in '' - # curl "https://www.duckdns.org/update?domains=orbekk&token=${token}&ip=" - # ''; - #}; systemd.timers.duckdns = { wantedBy = [ "timers.target" ]; timerConfig = { @@ -236,13 +200,9 @@ in # linux = pkgs.callPackage linux_pkg {}; # in pkgs.recurseIntoAttrs (pkgs.linuxPackagesFor linux); - boot.kernelParams = ["amdgpu.dc=1"]; - + boot.kernelParams = []; networking.hostName = "firelink"; # Define your hostname. - # networking.interfaces.enp37s0.useDHCP = true; - # networking.interfaces.enp37s0.macAddress = "3c:97:0e:19:7e:5c"; - system.stateVersion = lib.mkForce "20.03"; # SSD configuration @@ -254,13 +214,6 @@ in boot.initrd.luks.devices."cryptsystem".device = "/dev/disk/by-uuid/8acc11c2-e540-4561-8c88-34176fca1a72"; boot.initrd.luks.devices."cryptsystem".allowDiscards = true; - # boot.initrd.luks.devices."cryptsystem".yubikey = { - # slot = 2; - # twoFactor = false; - # storage.device = "/boot"; - # }; - # boot.initrd.luks.cryptoModules = ["aes" "xts" "sha512"]; - # boot.initrd.luks.yubikeySupport = true; fileSystems."/boot" = { device = "/dev/disk/by-uuid/C636-D264"; @@ -268,7 +221,6 @@ in }; programs.ssh.askPassword = "${pkgs.x11_ssh_askpass}/libexec/x11-ssh-askpass"; - services.xserver.desktopManager.plasma5.enable = true; # 60 fps services.xserver.xrandrHeads = |