summaryrefslogtreecommitdiff
path: root/machines/git
diff options
context:
space:
mode:
Diffstat (limited to 'machines/git')
-rw-r--r--machines/git/configuration.nix32
-rw-r--r--machines/git/hardware-configuration.nix56
-rw-r--r--machines/git/home.nix20
3 files changed, 0 insertions, 108 deletions
diff --git a/machines/git/configuration.nix b/machines/git/configuration.nix
deleted file mode 100644
index a244c64..0000000
--- a/machines/git/configuration.nix
+++ /dev/null
@@ -1,32 +0,0 @@
-{ lib, inputs, pkgs, ... }:
-
-{
- imports = [
- ./hardware-configuration.nix
- inputs.home-manager.nixosModules.default
- ] ++ (map (path: ../../modules/${path}) [
- "core/global.nix"
- "ssh.nix"
- "git/compromyse.nix"
- "git/cgit.nix"
- "git/git.nix"
- ]);
-
- networking.hostName = "git";
-
- boot.loader.grub = {
- enable = true;
- forceInstall = true;
- device = "/dev/sda";
- };
-
- programs.fuse.userAllowOther = true;
- home-manager = {
- extraSpecialArgs = { inherit inputs; };
- useGlobalPkgs = true;
- useUserPackages = true;
- users = {
- "compromyse" = import ./home.nix;
- };
- };
-}
diff --git a/machines/git/hardware-configuration.nix b/machines/git/hardware-configuration.nix
deleted file mode 100644
index b10d174..0000000
--- a/machines/git/hardware-configuration.nix
+++ /dev/null
@@ -1,56 +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 + "/profiles/qemu-guest.nix")
- ];
-
- boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
- boot.initrd.kernelModules = [ ];
- boot.kernelModules = [ ];
- boot.extraModulePackages = [ ];
-
- fileSystems."/" =
- { device = "/dev/disk/by-uuid/f321b489-3003-4d4a-8e86-0eee0584e0f6";
- fsType = "btrfs";
- options = [ "subvol=root" ];
- };
-
- fileSystems."/boot" =
- { device = "/dev/disk/by-uuid/f321b489-3003-4d4a-8e86-0eee0584e0f6";
- fsType = "btrfs";
- options = [ "subvol=boot" ];
- };
-
- fileSystems."/home" =
- { device = "/dev/disk/by-uuid/f321b489-3003-4d4a-8e86-0eee0584e0f6";
- fsType = "btrfs";
- options = [ "subvol=home" ];
- };
-
- fileSystems."/nix" =
- { device = "/dev/disk/by-uuid/f321b489-3003-4d4a-8e86-0eee0584e0f6";
- fsType = "btrfs";
- options = [ "subvol=nix" ];
- };
-
- fileSystems."/config" =
- { device = "/dev/disk/by-uuid/f321b489-3003-4d4a-8e86-0eee0584e0f6";
- fsType = "btrfs";
- options = [ "subvol=config" ];
- };
-
- 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.enp1s0.useDHCP = lib.mkDefault true;
-
- nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
-}
diff --git a/machines/git/home.nix b/machines/git/home.nix
deleted file mode 100644
index 723879e..0000000
--- a/machines/git/home.nix
+++ /dev/null
@@ -1,20 +0,0 @@
-{ inputs, pkgs, ... }:
-
-{
- home = {
- username = "compromyse";
- homeDirectory = "/home/compromyse";
- };
-
- home.packages = with pkgs; [
- git-lfs
- ];
-
- imports = (map (path: ../../config/${path}) [
- "bash.nix"
- "git"
- "nvim"
- ]);
-
- home.stateVersion = "23.11";
-}