Add tacotuesday

framework
Stef Dunlap 1 year ago
parent 6e035747c1
commit 3451df6a65
  1. 2
      box/flippy.nix
  2. 40
      box/tacotuesday.nix
  3. 19
      flake.nix

@ -13,7 +13,7 @@
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
networking.hostName = "flippy"; # Define your hostname.
networking.hostName = "flippy";
fileSystems."/" =
{ device = "/dev/disk/by-uuid/b3512142-b10c-4f68-9a9d-8ae793c6efc8";

@ -0,0 +1,40 @@
# 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 = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
networking.hostName = "tacotuesday";
fileSystems."/" =
{ device = "/dev/disk/by-uuid/d2aaed2c-35c3-4ea8-89e7-4a68781f0d97";
fsType = "ext4";
};
fileSystems."/boot/efi" =
{ device = "/dev/disk/by-uuid/A6F3-7606";
fsType = "vfat";
};
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp3s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlo1.useDHCP = lib.mkDefault true;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

@ -11,6 +11,25 @@
outputs = { self, nixpkgs, darwin, home-manager }:
{
nixosConfigurations.tacotuesday = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
({ config, pkgs, ... }: {
nixpkgs.config.allowUnfreePredicate = (pkg: true);
})
./conf/workstation.nix
./box/tacotuesday.nix
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.kindrobot.imports = [
./home/kindrobot.nix
./home/kindrobot-linux.nix
./home/email_accounts.nix
];
}
];
};
nixosConfigurations.flippy = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [

Loading…
Cancel
Save