summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--modules/hardware/nitrokey.nix12
-rw-r--r--modules/programs/accounting.nix10
-rw-r--r--modules/programs/dotfiles.nix6
-rw-r--r--modules/satoshipay.nix2
-rw-r--r--modules/user-interface.nix2
5 files changed, 10 insertions, 22 deletions
diff --git a/modules/hardware/nitrokey.nix b/modules/hardware/nitrokey.nix
index a0a27b0..ec25d8e 100644
--- a/modules/hardware/nitrokey.nix
+++ b/modules/hardware/nitrokey.nix
@@ -1,9 +1,5 @@
-{ config, nixpkgs, ... }:
+{ config, pkgs, ... }:
 
-let
-  pkgsUnstable = import <nixos-unstable> {};
-  # pkgsUnstable = pkgs;
-in
 { programs.ssh.startAgent = false;
 
   programs.gnupg = {
@@ -31,8 +27,8 @@ in
     };
   };
 
-  environment.systemPackages = [
-    pkgsUnstable.gnupg
-    pkgsUnstable.nitrokey-app
+  environment.systemPackages = with pkgs; [
+    gnupg
+    nitrokey-app
   ];
 }
diff --git a/modules/programs/accounting.nix b/modules/programs/accounting.nix
index bcd33b8..5882436 100644
--- a/modules/programs/accounting.nix
+++ b/modules/programs/accounting.nix
@@ -1,14 +1,10 @@
 { config, pkgs, ... }:
 
-let
-  pkgsUnstable = import <nixos-unstable> {};
-  # pkgsUnstable = pkgs;
-in
 { environment.systemPackages = with pkgs; [
     aqbanking
     ledger
-    pkgsUnstable.bean-add
-    pkgsUnstable.beancount
-    pkgsUnstable.fava
+    bean-add
+    beancount
+    fava
   ];
 }
diff --git a/modules/programs/dotfiles.nix b/modules/programs/dotfiles.nix
index eed2223..467665f 100644
--- a/modules/programs/dotfiles.nix
+++ b/modules/programs/dotfiles.nix
@@ -1,13 +1,9 @@
 { config, pkgs, ... }:
 
-let
-  pkgsUnstable = import <nixos-unstable> {};
-  # pkgsUnstable = pkgs;
-in
 { environment.systemPackages = with pkgs; [
     git
     stow
     fzf
-    pkgsUnstable.ghq
+    ghq
   ];
 }
diff --git a/modules/satoshipay.nix b/modules/satoshipay.nix
index 1263396..ac9d5f2 100644
--- a/modules/satoshipay.nix
+++ b/modules/satoshipay.nix
@@ -32,7 +32,7 @@ in
   systemd.services.redis.wantedBy = lib.mkForce [];
 
   services.printing.drivers = with pkgs; [
-    pkgsUnstable.cups-toshiba-estudio
+    cups-toshiba-estudio
   ];
 
   networking.domain = "satoshipay.io";
diff --git a/modules/user-interface.nix b/modules/user-interface.nix
index 56490cc..b3c175f 100644
--- a/modules/user-interface.nix
+++ b/modules/user-interface.nix
@@ -43,7 +43,7 @@ in
     aspell
     aspellDicts.en
 
-    pkgsUnstable.alacritty
+    alacritty
     st
 
     trash-cli