Setup tardis

This commit is contained in:
2026-07-07 12:28:58 +01:00
parent 233b9d674a
commit 8e34c30072
6 changed files with 51 additions and 5 deletions
+1
View File
@@ -1,6 +1,7 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
kutu.url = "git+https://git.syedm.dev/syedm/kutu.git";
home-manager = {
url = "github:nix-community/home-manager/release-26.05";
+7 -1
View File
@@ -1,4 +1,4 @@
{ ... }:
{ pkgs, ... }:
{
imports = [
@@ -9,5 +9,11 @@
home.username = "me";
home.homeDirectory = "/home/me";
programs.git = {
enable = true;
userName = "Syed Daanish";
userEmail = "me@syedm.dev";
};
home.stateVersion = "26.05";
}
+2
View File
@@ -6,6 +6,8 @@
../modules/secrets
];
nixpkgs.config.allowUnfree = true;
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
-3
View File
@@ -1,6 +1,3 @@
# 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, ... }:
{
+11 -1
View File
@@ -6,11 +6,21 @@
./hardware-configuration.nix
];
boot.blacklistedKernelModules = [
"nouveau"
];
environment.systemPackages = lib.mkAfter (with pkgs; [
firefox
kitty
rofi
]);
services.xserver.enable = true;
services.xserver = {
enable = true;
displayManager.startx.enable = true;
videoDrivers = [ "modesetting" ];
};
networking.hostName = "tardis";
}
+30
View File
@@ -0,0 +1,30 @@
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "vmd" "nvme" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/29a53eeb-befc-4512-9255-e1c5f1cf55ae";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/0951-B8D1";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/659310da-4655-461e-a992-6e62d7a0362d"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}