mirror of
https://github.com/thiloho/nixos-config.git
synced 2025-11-22 11:31:36 +01:00
Remove unnecessary hosts
This commit is contained in:
@@ -42,7 +42,6 @@
|
|||||||
pc = mkSystem ./nixos-configurations/pc;
|
pc = mkSystem ./nixos-configurations/pc;
|
||||||
laptop = mkSystem ./nixos-configurations/laptop;
|
laptop = mkSystem ./nixos-configurations/laptop;
|
||||||
server = mkSystem ./nixos-configurations/server;
|
server = mkSystem ./nixos-configurations/server;
|
||||||
tvpc = mkSystem ./nixos-configurations/tvpc;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,18 +0,0 @@
|
|||||||
{ ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./hardware-configuration.nix
|
|
||||||
../shared-desktop.nix
|
|
||||||
../shared.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
networking.hostName = "tvpc";
|
|
||||||
|
|
||||||
home-manager.users.thiloho = { pkgs, lib, ... }: {
|
|
||||||
programs.git.signing.key = "5ECD00BDC15A987E";
|
|
||||||
home.stateVersion = "23.05";
|
|
||||||
};
|
|
||||||
system.stateVersion = "23.05";
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,40 +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, modulesPath, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports =
|
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
|
||||||
];
|
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "nvme" "ahci" "xhci_pci" "usbhid" "usb_storage" "sd_mod" ];
|
|
||||||
boot.initrd.kernelModules = [ ];
|
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
|
||||||
boot.extraModulePackages = [ ];
|
|
||||||
|
|
||||||
fileSystems."/" =
|
|
||||||
{ device = "/dev/disk/by-uuid/63ef4cb3-e605-4afd-8253-9a2c3372b728";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/boot" =
|
|
||||||
{ device = "/dev/disk/by-uuid/9534-9048";
|
|
||||||
fsType = "vfat";
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices =
|
|
||||||
[ { device = "/dev/disk/by-uuid/8dc7af73-ad0d-494d-8e5a-c661e35b7856"; }
|
|
||||||
];
|
|
||||||
|
|
||||||
# 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.enp39s0.useDHCP = lib.mkDefault true;
|
|
||||||
# networking.interfaces.wlp41s0.useDHCP = lib.mkDefault true;
|
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
||||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
||||||
}
|
|
||||||
@@ -1,55 +0,0 @@
|
|||||||
{ pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
wsl = {
|
|
||||||
enable = true;
|
|
||||||
wslConf.automount.root = "/mnt";
|
|
||||||
defaultUser = "thiloho";
|
|
||||||
startMenuLaunchers = true;
|
|
||||||
nativeSystemd = true;
|
|
||||||
|
|
||||||
# Enable native Docker support
|
|
||||||
# docker-native.enable = true;
|
|
||||||
|
|
||||||
# Enable integration with Docker Desktop (needs to be installed)
|
|
||||||
# docker-desktop.enable = true;
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
networking.hostName = "ThilosPC";
|
|
||||||
|
|
||||||
users.users.thiloho.isNormalUser = true;
|
|
||||||
|
|
||||||
home-manager.users.thiloho = { pkgs, lib, config, ... }: {
|
|
||||||
programs = {
|
|
||||||
helix = {
|
|
||||||
enable = true;
|
|
||||||
defaultEditor = true;
|
|
||||||
settings.theme = "ayu_dark";
|
|
||||||
};
|
|
||||||
git = {
|
|
||||||
enable = true;
|
|
||||||
userName = "thiloho";
|
|
||||||
userEmail = "123883702+thiloho@users.noreply.github.com";
|
|
||||||
signing = {
|
|
||||||
signByDefault = true;
|
|
||||||
key = "68E9DB8C7055C97A";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
home = {
|
|
||||||
stateVersion = "23.05";
|
|
||||||
packages = with pkgs; [ wget ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
|
|
||||||
# Enable nix flakes
|
|
||||||
nix.package = pkgs.nixFlakes;
|
|
||||||
nix.extraOptions = ''
|
|
||||||
experimental-features = nix-command flakes
|
|
||||||
'';
|
|
||||||
|
|
||||||
system.stateVersion = "23.05";
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user