New system (Mabon). Renamed "unstable" to nixpkgs-master for correctness. Added Google Chrome and VLC to the desktop profile for Chromecast usage. Added MultiMC to the gaming profile.

This commit is contained in:
kat witch 2020-11-12 17:05:08 +00:00 committed by kat
parent 6f255a60f0
commit 858bae5610
6 changed files with 76 additions and 7 deletions

View file

@ -2,7 +2,7 @@ let
hosts = {
yule = {
ssh.host = "kat@yule";
groups = [ "desktop" "personal" ];
groups = [ "laptop" "personal" ];
};
beltane = {
ssh.host = "kat@beltane";
@ -14,7 +14,11 @@ let
};
litha = {
ssh.host = "root@litha";
groups = [ "desktop" "personal" ];
groups = [ "laptop" "personal" ];
};
mabon = {
ssh.host = "root@192.168.1.218";
groups = [ "laptop" "personal"];
};
};
pkgs = import <nixpkgs> { };

View file

@ -0,0 +1,36 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{
imports = [ # Include the results of the hardware scan.
./hardware-configuration.nix
../../profiles/common
../../profiles/desktop
../../profiles/xfce
../../profiles/network
../../profiles/yubikey
];
# Use the GRUB 2 boot loader.
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
networking.hostName = "mabon"; # Define your hostname.
networking.useDHCP = false;
networking.interfaces.enp0s25.useDHCP = true;
networking.interfaces.wls3.useDHCP = true;
# Enable the OpenSSH daemon.
services.openssh.enable = true;
system.stateVersion = "20.09"; # Did you read the comment?
}

View file

@ -0,0 +1,26 @@
# 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, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "uhci_hcd" "ehci_pci" "ata_piix" "ahci" "firewire_ohci" "usb_storage" "sd_mod" "sdhci_pci" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/05829271-4036-4d81-85b0-cd8c8197d40f";
fsType = "ext4";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/aacb9f81-bc7a-46f9-8cac-04942d078318"; }
];
networking.enableIntel3945ABGFirmware = true;
}

View file

@ -69,6 +69,7 @@
"samhain" = { hostname = "192.168.1.135"; } // kat;
"litha" = { hostname = "192.168.1.240"; } // kat;
"yule" = { hostname = "192.168.1.92"; } // kat;
"lughnasadh" = { hostname = "192.168.1.102"; } // kat;
};
};

View file

@ -1,8 +1,8 @@
{ config, lib, pkgs, ... }:
let
unstable = import
(fetchTarball "https://github.com/NixOS/nixpkgs/archive/master.tar.gz") { };
nixpkgs-master = import
(fetchTarball "https://github.com/NixOS/nixpkgs/archive/master.tar.gz") { config.allowUnfree = true; };
in {
nixpkgs.config = { mumble.speechdSupport = true; };
@ -11,8 +11,10 @@ in {
pkgs._1password
pkgs.mpv
pkgs.mumble
unstable.pkgs.syncplay
unstable.pkgs.youtube-dl
pkgs.vlc
nixpkgs-master.pkgs.syncplay
nixpkgs-master.pkgs.youtube-dl
nixpkgs-master.google-chrome
pkgs.transmission-gtk
pkgs.jdk11
pkgs.lm_sensors

View file

@ -3,5 +3,5 @@
hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ libva ];
hardware.pulseaudio.support32Bit = true;
home-manager.users.kat = { home.packages = [ pkgs.steam pkgs.steam-run ]; };
home-manager.users.kat = { home.packages = [ pkgs.steam pkgs.steam-run pkgs.multimc ]; };
}