summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/alacritty/alacritty.toml2
-rwxr-xr-xdist/vm.sh2
-rw-r--r--flake.lock36
-rw-r--r--machines/x/configuration.nix7
-rw-r--r--modules/compromyse.nix2
-rw-r--r--modules/core/impermanence.nix1
-rw-r--r--modules/virtualization.nix2
7 files changed, 31 insertions, 21 deletions
diff --git a/config/alacritty/alacritty.toml b/config/alacritty/alacritty.toml
index fd75e99..9d76551 100644
--- a/config/alacritty/alacritty.toml
+++ b/config/alacritty/alacritty.toml
@@ -1,5 +1,7 @@
[window]
dynamic_title = true
+padding = { x = 10, y = 10 }
+dynamic_padding = true
[font]
normal = { family = "UbuntuMono Nerd Font Mono", style = "Regular" }
diff --git a/dist/vm.sh b/dist/vm.sh
index 55da48f..ce03ceb 100755
--- a/dist/vm.sh
+++ b/dist/vm.sh
@@ -1,2 +1,2 @@
#!/usr/bin/env bash
-alacritty --title float -o 'window.dimensions = { columns = 80, lines = 40 }' -e bash -c 'virt-manager -c qemu:///system --show-domain-console $(virsh -c qemu:///system list --all --name | fzf)'
+alacritty --title float -o 'window.dimensions = { columns = 80, lines = 40 }' -e bash -c 'virt-manager -c qemu:///system --show-domain-console $(virsh -c qemu:///system list --all --name | fzf) & disown'
diff --git a/flake.lock b/flake.lock
index 58737cb..c85d9ad 100644
--- a/flake.lock
+++ b/flake.lock
@@ -7,11 +7,11 @@
]
},
"locked": {
- "lastModified": 1733168902,
- "narHash": "sha256-8dupm9GfK+BowGdQd7EHK5V61nneLfr9xR6sc5vtDi0=",
+ "lastModified": 1734343412,
+ "narHash": "sha256-b7G8oFp0Nj01BYUJ6ENC9Qf/HsYAIZvN9k/p0Kg/PFU=",
"owner": "nix-community",
"repo": "disko",
- "rev": "785c1e02c7e465375df971949b8dcbde9ec362e5",
+ "rev": "a08bfe06b39e94eec98dd089a2c1b18af01fef19",
"type": "github"
},
"original": {
@@ -25,11 +25,11 @@
"nixpkgs": "nixpkgs"
},
"locked": {
- "lastModified": 1730004881,
- "narHash": "sha256-8xVIqIW25o2uCL0fxAmP4Sj9sdebarQXmd1+64yMe8o=",
+ "lastModified": 1734412921,
+ "narHash": "sha256-JeMqc7lLowKn6klrCcOkcOg38yNqF7MPbN4Elh6Xvq0=",
"owner": "vinceliuice",
"repo": "grub2-themes",
- "rev": "42c232dfb46bf93c17506cbc1a574e5e89b5e09f",
+ "rev": "f6ab2438e124f60a340a526543e498e5e33b3c53",
"type": "github"
},
"original": {
@@ -45,11 +45,11 @@
]
},
"locked": {
- "lastModified": 1733175814,
- "narHash": "sha256-zFOtOaqjzZfPMsm1mwu98syv3y+jziAq5DfWygaMtLg=",
+ "lastModified": 1734344598,
+ "narHash": "sha256-wNX3hsScqDdqKWOO87wETUEi7a/QlPVgpC/Lh5rFOuA=",
"owner": "nix-community",
"repo": "home-manager",
- "rev": "bf23fe41082aa0289c209169302afd3397092f22",
+ "rev": "83ecd50915a09dca928971139d3a102377a8d242",
"type": "github"
},
"original": {
@@ -60,11 +60,11 @@
},
"impermanence": {
"locked": {
- "lastModified": 1731242966,
- "narHash": "sha256-B3C3JLbGw0FtLSWCjBxU961gLNv+BOOBC6WvstKLYMw=",
+ "lastModified": 1734200366,
+ "narHash": "sha256-0NursoP4BUdnc+wy+Mq3icHkXu/RgP1Sjo0MJxV2+Dw=",
"owner": "nix-community",
"repo": "impermanence",
- "rev": "3ed3f0eaae9fcc0a8331e77e9319c8a4abd8a71a",
+ "rev": "c6323585fa0035d780e3d8906eb1b24b65d19a48",
"type": "github"
},
"original": {
@@ -75,11 +75,11 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1733223936,
- "narHash": "sha256-rX2s5UwFb6PSwYakf43ntd07TEDGcJGHRrWTKvR2K78=",
+ "lastModified": 1734582321,
+ "narHash": "sha256-7HcM6yaEQfbhjkNKrUj9J9mOe9UtzmTDYMdsX8ojw9E=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "f49f947ec4a6d313697595e17ff06568c65abdab",
+ "rev": "751b02210f4e9818e7a763330c1e4efd48f62a9a",
"type": "github"
},
"original": {
@@ -91,11 +91,11 @@
},
"nixpkgs_2": {
"locked": {
- "lastModified": 1733015953,
- "narHash": "sha256-t4BBVpwG9B4hLgc6GUBuj3cjU7lP/PJfpTHuSqE+crk=",
+ "lastModified": 1734424634,
+ "narHash": "sha256-cHar1vqHOOyC7f1+tVycPoWTfKIaqkoe1Q6TnKzuti4=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "ac35b104800bff9028425fec3b6e8a41de2bbfff",
+ "rev": "d3c42f187194c26d9f0309a8ecc469d6c878ce33",
"type": "github"
},
"original": {
diff --git a/machines/x/configuration.nix b/machines/x/configuration.nix
index 3941514..ae1682b 100644
--- a/machines/x/configuration.nix
+++ b/machines/x/configuration.nix
@@ -64,6 +64,13 @@ in {
};
};
+ programs.adb.enable = true;
+
+ services.printing.enable = true;
+ services.printing.drivers = [
+ pkgs.brlaser
+ ];
+
networking.extraHosts = ''
192.168.122.100 android
192.168.122.101 deb
diff --git a/modules/compromyse.nix b/modules/compromyse.nix
index 779a300..d117af9 100644
--- a/modules/compromyse.nix
+++ b/modules/compromyse.nix
@@ -5,6 +5,6 @@
hashedPassword = "$y$j9T$QfsPs3aK5iQOzctkQglAp1$00VuaoJthM6hNxnoMsx58CbI3rsFDem5xtsKqPRfy4C";
isNormalUser = true;
# openssh.authorizedKeys.keys = [];
- extraGroups = [ "wheel" "video" "storage" "input" "plugdev" "libvirtd" "docker" "kvm" ];
+ extraGroups = [ "wheel" "video" "storage" "input" "plugdev" "libvirtd" "docker" "kvm" "lp" ];
};
}
diff --git a/modules/core/impermanence.nix b/modules/core/impermanence.nix
index a26124f..8330235 100644
--- a/modules/core/impermanence.nix
+++ b/modules/core/impermanence.nix
@@ -29,6 +29,7 @@
"/var/lib/libvirt"
"/var/lib/systemd/coredump"
"/etc/NetworkManager/system-connections"
+ "/var/lib/docker"
];
files = [
"/etc/machine-id"
diff --git a/modules/virtualization.nix b/modules/virtualization.nix
index 0086839..28d9fe1 100644
--- a/modules/virtualization.nix
+++ b/modules/virtualization.nix
@@ -48,7 +48,7 @@
];
# Use the custom kernel package set
- boot.kernelPackages = pkgs.linuxPackages_6_11;
+ boot.kernelPackages = pkgs.linuxPackages_latest;
# boot.kernelPatches = [
# {