Fully migrate kardorf config

This commit is contained in:
2024-03-18 12:15:32 +01:00
parent aaa2f73332
commit 341d1cbb4b
10 changed files with 532 additions and 39 deletions

View File

@ -8,16 +8,8 @@ let python-packages = ps: with ps; [ ];
in rec {
imports = [
./hardware-configuration.nix
inputs.home-manager.nixosModules.home-manager
];
home-manager = {
extraSpecialArgs = { inherit inputs; };
useGlobalPkgs = true;
useUserPackages = true;
users.julian = import ./home.nix;
};
nix.buildMachines = [{
hostName = "192.168.3.118";
system = "x86_64-linux";
@ -42,7 +34,7 @@ in rec {
boot.supportedFilesystems = [ "btrfs" "ntfs" "nfs" "cifs" ];
networking.hostName = "nixos"; # Define your hostname.
networking.hostName = "kardorf"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# Configure network proxy if necessary
@ -199,11 +191,6 @@ in rec {
# extraGroups = [ "networkmanager" "wheel" ];
# };
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
nixpkgs.config.nvidia.acceptLicense = true;
nixpkgs.config.permittedInsecurePackages = [ "electron-24.8.6" ];
environment.etc."manual-links/xfce4-notifyd".source =
"${pkgs.xfce.xfce4-notifyd}/lib/xfce4/notifyd/xfce4-notifyd";
environment.etc."manual-links/polkit-gnome-authentication-agent-1".source =
@ -385,11 +372,11 @@ in rec {
colmapWithCuda
];
nixpkgs.overlays = [
(self: super: {
nix-direnv = super.nix-direnv.override { enableFlakes = true; };
})
];
# nixpkgs.overlays = [
# (self: super: {
# nix-direnv = super.nix-direnv.override { enableFlakes = true; };
# })
#];
fonts.fonts = with pkgs; [
(nerdfonts.override { fonts = [ "FiraCode" ]; })