Skip to content

Commit

Permalink
chore(hosts): remove tantive4 and deathstar
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenhoenle committed Jul 14, 2024
1 parent 3389cf8 commit 6e37d01
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 133 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![run flake check](https://github.com/rubenhoenle/dotfiles/actions/workflows/build.yaml/badge.svg?branch=main)](https://github.com/rubenhoenle/dotfiles/actions/workflows/build.yaml)

# NixOS Configuration

```bash
Expand Down
43 changes: 0 additions & 43 deletions hardware/thinkpad-l560.nix

This file was deleted.

45 changes: 0 additions & 45 deletions hardware/thinkpad-l590.nix

This file was deleted.

7 changes: 0 additions & 7 deletions home/sway/swaylock.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
let
image = builtins.fetchurl {
url = "https://github.com/Golo300/dotfiles/blob/c76fd362753374c6c1f4d428033894cc959db3bd/home/timl/wallpaper/nixos.jpg";
sha256 = "105w2chk50hz24vvb2jqaqv3ip6r8kzcqjcaf0ci5gsr601q1wag";
};
in
{
programs.swaylock = {
enable = true;
Expand All @@ -14,7 +8,6 @@ in
indicator-radius = 100;
line-color = "ffffff";
show-failed-attempts = true;
image = "${image}";
};
};
}
38 changes: 0 additions & 38 deletions hosts.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
{ nixos-hardware }: [
{
name = "tantive4";
nixosModules = [
./hardware/thinkpad-l560.nix
{
ruben.network.hostname = "tantive4";
console.keyMap = "de";
}
];
}
{
name = "nbell-nixos";
nixosModules = [
Expand All @@ -24,25 +14,6 @@
}
];
}
{
name = "deathstar";
nixosModules = [
./hardware/thinkpad-l590.nix
{
ruben.network.hostname = "deathstar";
console.keyMap = "de";

# Setup keyfile
boot.initrd.secrets = {
"/crypto_keyfile.bin" = null;
};

# Enable swap on luks
boot.initrd.luks.devices."luks-1479230d-a028-45d4-a769-191948406264".device = "/dev/disk/by-uuid/1479230d-a028-45d4-a769-191948406264";
boot.initrd.luks.devices."luks-1479230d-a028-45d4-a769-191948406264".keyFile = "/crypto_keyfile.bin";
}
];
}
{
name = "millenium-falcon";
nixosModules = [
Expand All @@ -55,15 +26,6 @@

console.keyMap = "us";

# Setup keyfile
#boot.initrd.secrets = {
# "/crypto_keyfile.bin" = null;
#};

# Enable swap on luks
#boot.initrd.luks.devices."luks-6d3659bf-9d20-42ad-9fe5-43395cdb683f".device = "/dev/disk/by-uuid/6d3659bf-9d20-42ad-9fe5-43395cdb683f";
#boot.initrd.luks.devices."luks-6d3659bf-9d20-42ad-9fe5-43395cdb683f".keyFile = "/crypto_keyfile.bin";

swapDevices = [{
device = "/var/lib/swapfile";
size = 16 * 1024;
Expand Down

0 comments on commit 6e37d01

Please sign in to comment.