Remove threema from flake.nix

This commit is contained in:
Fabian Hauser 2024-01-03 13:20:24 +08:00
parent 21dc8425e2
commit 5ffa47cb44
6 changed files with 6 additions and 38 deletions

23
flake.lock generated
View file

@ -94,28 +94,7 @@
"home-manager": "home-manager",
"nixos-hardware": "nixos-hardware",
"nixpkgs-stable": "nixpkgs-stable",
"nixpkgs-unstable": "nixpkgs-unstable",
"threema": "threema"
}
},
"threema": {
"inputs": {
"nixpkgs-unstable": [
"nixpkgs-unstable"
]
},
"locked": {
"lastModified": 1659736371,
"narHash": "sha256-X2DbyWtlk810SMx5I+rW5OHJWHFXf2wvwNvuQPS14Gs=",
"ref": "refs/heads/master",
"rev": "70fb60fabf3e454d2d131ae21db1f13c1b45ab12",
"revCount": 18,
"type": "git",
"url": "file:///etc/nixos/defaults/threema"
},
"original": {
"type": "git",
"url": "file:///etc/nixos/defaults/threema"
"nixpkgs-unstable": "nixpkgs-unstable"
}
}
},

View file

@ -9,8 +9,6 @@
home-manager.url = "github:nix-community/home-manager/master";
home-manager.inputs.nixpkgs.follows = "nixpkgs-stable";
threema.url = "git+file:///etc/nixos/defaults/threema";
threema.inputs.nixpkgs-unstable.follows = "nixpkgs-unstable";
fcc-unlock = {
url = "git+file:///etc/nixos/fcc-unlock";
inputs.nixos-stable.follows = "nixpkgs-stable";
@ -19,7 +17,7 @@
};
outputs = { self, nixpkgs-unstable, nixpkgs-stable, home-manager
, nixos-hardware, threema, fcc-unlock, ... }@inputs:
, nixos-hardware, fcc-unlock, ... }@inputs:
let
system = "x86_64-linux";
pkgsUnstable = import nixpkgs-unstable {
@ -40,7 +38,6 @@
# `nix build .#nixosConfigurations.<hostname>.config.system.build.toplevel
nixosConfigurations = let
sharedSpecialArgs = {
threemaModules = threema.nixosModules;
inherit pkgsUnstable;
pkgFccUnlock = fcc-unlock.packages.${system}.default;

View file

@ -1,11 +1,9 @@
{ config, pkgs, lib, threemaModules, nixosConfig, ... }: {
{ config, pkgs, lib, nixosConfig, ... }: {
imports = [
./multimedia.nix
./applications
./mimetypes.nix
# ./games.nix
threemaModules.home
];
home.stateVersion = nixosConfig.system.stateVersion;
systemd.user.targets.tray = {

View file

@ -1,4 +1,4 @@
{ config, pkgs, threemaModules, ... }: {
{ config, pkgs, ... }: {
imports = [
./filesystems.nix
@ -11,8 +11,6 @@
../../defaults/desktop
../../defaults/hardware/thinkpad-p14s.nix
#../../defaults/printing
threemaModules.openvpn
];
#TODO: Clean up next section

View file

@ -1,4 +1,4 @@
{ config, pkgs, threemaModules, ... }: {
{ config, pkgs, ... }: {
imports = [
./filesystems.nix
@ -9,8 +9,6 @@
../../defaults/base
../../defaults/cifs-auth-fix
../../defaults/desktop
threemaModules.openvpn
];
virtualisation = { # TODO: This should probably be somewhere else.

View file

@ -1,4 +1,4 @@
{ config, pkgs, threemaModules, ... }: {
{ config, pkgs, ... }: {
imports = [
./filesystems.nix
@ -12,8 +12,6 @@
../../defaults/hardware/amd-board.nix
../../defaults/hardware/ecc-memory.nix
#../../defaults/printing
threemaModules.openvpn
];
virtualisation = { # TODO: This should probably be somewhere else.