Compare commits

..

6 Commits

Author SHA1 Message Date
e2290b064e add qemu bridge configuration 2025-07-17 12:18:57 +02:00
cb3d05058d update 2025-07-17 12:10:02 +02:00
182c35727e update 2025-06-17 17:05:05 +02:00
978920355c update 2025-06-12 23:11:10 +02:00
fcd8c7b029 update & add git rebase configuration 2025-06-01 16:30:46 +02:00
0d2e8c0c53 add makemkv 2025-05-03 10:46:50 +02:00
5 changed files with 24 additions and 9 deletions

View File

@@ -11,7 +11,7 @@
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "sr_mod" ]; boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" "sg" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =

12
flake.lock generated
View File

@@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1745033012, "lastModified": 1752467539,
"narHash": "sha256-KjBMsjCzIOWgDqTZMYIriPFmHiQcCb2RhuDh5JF0VVc=", "narHash": "sha256-4kaR+xmng9YPASckfvIgl5flF/1nAZOplM+Wp9I5SMI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "ae84885d9b6b62dc58ccd300e9ab321a3fd9f9c7", "rev": "1e54837569e0b80797c47be4720fab19e0db1616",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -22,11 +22,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1744932701, "lastModified": 1752480373,
"narHash": "sha256-fusHbZCyv126cyArUwwKrLdCkgVAIaa/fQJYFlCEqiU=", "narHash": "sha256-JHQbm+OcGp32wAsXTE/FLYGNpb+4GLi5oTvCxwSoBOA=",
"owner": "NixOs", "owner": "NixOs",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b024ced1aac25639f8ca8fdfc2f8c4fbd66c48ef", "rev": "62e0f05ede1da0d54515d4ea8ce9c733f12d9f08",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -30,6 +30,7 @@
./backup-target.nix ./backup-target.nix
./users/shatteredmint.nix ./users/shatteredmint.nix
./qemu-bridges.nix
]; ];
}; };

12
qemu-bridges.nix Normal file
View File

@@ -0,0 +1,12 @@
{ config, libs, pkgs, ... }:
{
networking.bridges.virtbr0.interfaces = [
"enp4s0"
];
networking.interfaces.virtbr0 = {
useDHCP = true;
};
virtualisation.libvirtd.allowedBridges = [ "virtbr0" ];
}

View File

@@ -6,7 +6,7 @@
users.users.shatteredmint = { users.users.shatteredmint = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" "nixos-admins" ]; extraGroups = [ "wheel" "nixos-admins" "cdrom" ];
shell = pkgs.zsh; shell = pkgs.zsh;
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKT9u43WNMlu3gnu5z9Twt1vkdNdpf6REfEK/OT4qxjK shatteredmint" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKT9u43WNMlu3gnu5z9Twt1vkdNdpf6REfEK/OT4qxjK shatteredmint"
@@ -33,7 +33,7 @@
ignoreAllDups = true; ignoreAllDups = true;
}; };
initExtra = '' initContent = ''
bindkey '^?' backward-delete-char bindkey '^?' backward-delete-char
bindkey '\e[3~' delete-char bindkey '\e[3~' delete-char
autoload -Uz vcs_info autoload -Uz vcs_info
@@ -51,6 +51,7 @@
userName = "ShatteredMINT"; userName = "ShatteredMINT";
extraConfig = { extraConfig = {
init.defaultBranch = "main"; init.defaultBranch = "main";
pull.rebase = true;
}; };
}; };
@@ -73,6 +74,7 @@
clang clang
nil nil
wl-clipboard wl-clipboard
makemkv
]; ];
home.sessionPath = [ home.sessionPath = [