Skip to content

Commit fc56b7b

Browse files
committed
laptop: remove old host
1 parent b134113 commit fc56b7b

26 files changed

+8
-1007
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
target: [flake-check, laptop, framework, nas, vps]
22+
target: [flake-check, framework, nas, vps]
2323
steps:
2424
- uses: actions/checkout@v4
2525
- uses: docker/setup-qemu-action@v3

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
- If the content is only related to one host, it should be located under ./hosts, otherwise create a module at ./modules.
77
- Use `nix flake lock` when adding or removing Flake inputs
88
- Only update specific flake inputs with `nix flake update <input>` if there is a reason (e.g. changelog suggests a bug was fixed)
9-
- Test changes with `just test` for the laptop or `just test <host>`
9+
- Test changes with `just test` for the current device or `just test <host>`
1010
- The log of `just test` is printed to stderr. All errors are always located after the first occurence of the 'error:' string. Ignore everything before the first 'error:' string. If there are any errors, suggest a change which might resolve the error and try again.
1111
- The current Nix configuration can be evaluated with `nix eval`. Example for the nas host and `services.nginx.enable`: `nix eval --json '.#nixosConfigurations.nas.options.services.nginx.enable.definitionsWithLocations'`. This will also print the file where the definition is located, however the file will be located in the Nix store. Ignore the store path prefix to figure out the real file path. Prefer this method instead of manually looking at files.

flake.nix

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -154,32 +154,6 @@
154154
in
155155
{
156156
nixosConfigurations = {
157-
laptop = nixpkgs.lib.nixosSystem {
158-
inherit system pkgs;
159-
modules = [
160-
./hosts/laptop/nixos
161-
./modules/nixos
162-
stylix.nixosModules.stylix
163-
talon.nixosModules.talon
164-
home-manager.nixosModules.home-manager
165-
nix-secrets.nixosModules.laptop
166-
{
167-
home-manager = {
168-
useGlobalPkgs = true;
169-
useUserPackages = true;
170-
users.lbischof = import ./hosts/laptop/home;
171-
extraSpecialArgs = {
172-
inherit self inputs pkgs-citrix-workspace;
173-
};
174-
};
175-
}
176-
nix-index-database.nixosModules.nix-index
177-
];
178-
specialArgs = {
179-
secrets = import nix-secrets;
180-
inherit inputs;
181-
};
182-
};
183157
framework = nixpkgs.lib.nixosSystem {
184158
modules = [
185159
disko.nixosModules.disko

hosts/framework/home/lspsettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"expr": "{}"
99
},
1010
"home_manager": {
11-
"expr": "let findFlake = dir: if builtins.pathExists (dir + \"/flake.nix\") then builtins.getFlake (\"git+file://\" + toString dir) else if toString dir == \"/\" then throw \"No flake.nix found\" else findFlake (dir + \"/..\"); flake = findFlake ./.; in flake.nixosConfigurations.laptop.options.home-manager.users.type.getSubOptions []"
11+
"expr": "let findFlake = dir: if builtins.pathExists (dir + \"/flake.nix\") then builtins.getFlake (\"git+file://\" + toString dir) else if toString dir == \"/\" then throw \"No flake.nix found\" else findFlake (dir + \"/..\"); flake = findFlake ./.; in flake.nixosConfigurations.framework.options.home-manager.users.type.getSubOptions []"
1212
}
1313
}
1414
}

hosts/framework/nixos/lspsettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
},
66
"options": {
77
"nixos": {
8-
"expr": "let findFlake = dir: if builtins.pathExists (dir + \"/flake.nix\") then builtins.getFlake (\"git+file://\" + toString dir) else if toString dir == \"/\" then throw \"No flake.nix found\" else findFlake (dir + \"/..\"); flake = findFlake ./.; in flake.nixosConfigurations.laptop.options"
8+
"expr": "let findFlake = dir: if builtins.pathExists (dir + \"/flake.nix\") then builtins.getFlake (\"git+file://\" + toString dir) else if toString dir == \"/\" then throw \"No flake.nix found\" else findFlake (dir + \"/..\"); flake = findFlake ./.; in flake.nixosConfigurations.framework.options"
99
}
1010
}
1111
}

hosts/laptop/home/aider-chat.nix

Lines changed: 0 additions & 17 deletions
This file was deleted.

hosts/laptop/home/alacritty/alacritty.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

hosts/laptop/home/alacritty/default.nix

Lines changed: 0 additions & 16 deletions
This file was deleted.

hosts/laptop/home/default.nix

Lines changed: 0 additions & 150 deletions
This file was deleted.

hosts/laptop/home/i3/default.nix

Lines changed: 0 additions & 95 deletions
This file was deleted.

0 commit comments

Comments
 (0)