1
0
mirror of https://github.com/kmein/niveum synced 2026-03-20 12:01:06 +01:00

chore: move more to NUR

This commit is contained in:
Kierán Meinhardt
2020-04-09 18:12:45 +02:00
parent ebaff40268
commit 8890b30e5f
13 changed files with 3 additions and 190 deletions

View File

@@ -6,7 +6,6 @@ in
imports = [
<niveum/modules/constants.nix>
<home-manager/nixos>
# ./mopidy.nix
./alacritty.nix
./bash.nix
./bluetooth.nix
@@ -16,7 +15,6 @@ in
./compton.nix
./default.nix
./direnv.nix
# ./home-assistant.nix
./distrobump.nix
./docker.nix
./dunst.nix
@@ -41,7 +39,6 @@ in
./redshift.nix
./retiolum.nix
./rofi.nix
./sncli.nix
./ssh.nix
./sudo.nix
./themes/mac-os.nix
@@ -110,20 +107,11 @@ in
(import <niveum/overlays/scripts.nix>)
(import <niveum/overlays/rust.nix>)
(self: super: {
python3Packages = super.python3Packages.override {
overrides = new: old: {
spotify-cli-linux = new.callPackage <niveum/packages/spotify-cli-linux.nix> {};
instaloader = new.callPackage <niveum/packages/instaloader.nix> {};
sncli = new.callPackage <niveum/packages/sncli.nix> {};
};
};
writeDashBin = super.writers.writeDashBin;
writeDash = super.writers.writeDash;
ix = super.callPackage <niveum/packages/ix.nix> {};
text2pdf = super.callPackage <niveum/packages/text2pdf.nix> {};
iolanguage = super.callPackage <niveum/packages/iolanguage.nix> {};
nix-git = super.callPackage <niveum/packages/nix-git.nix> {};
gfs-fonts = super.callPackage <niveum/packages/gfs-fonts.nix> {

View File

@@ -1,7 +0,0 @@
{
services.home-assistant = {
enable = false;
configWritable = true;
lovelaceConfigWritable = true;
};
}

View File

@@ -1,30 +0,0 @@
{ pkgs, ... }:
let secrets = import <niveum/dot/secrets.nix>;
in {
services.mopidy = {
enable = false;
extensionPackages = [
pkgs.mopidy-gmusic
pkgs.mopidy-iris
pkgs.mopidy-moped
pkgs.mopidy-mopify
pkgs.mopidy-soundcloud
pkgs.mopidy-spotify
pkgs.mopidy-spotify-tunigo
pkgs.mopidy-youtube
];
configuration = ''
[mpd]
hostname = ::
[spotify]
username = ${secrets.spotify.username}
password = ${secrets.spotify.password}
client_id = ${secrets.spotify.clientId}
client_secret = ${secrets.spotify.clientSecret}
[soundcloud]
auth_token = ${secrets.soundcloud.authToken}
'';
};
}

View File

@@ -45,7 +45,7 @@
ddgr
ix
# thunderbird
# python3Packages.instaloader
# nur.repos.kmein.python3Packages.instaloader
# mtr # my traceroute
# FILE MANAGERS
ranger
@@ -98,7 +98,7 @@
pdfgrep # search in pdf
pdftk # pdf toolkit
spotify
python3Packages.spotify-cli-linux
nur.repos.kmein.python3Packages.spotify-cli-linux
youtubeDL
bc # calculator
fzf

View File

@@ -35,7 +35,7 @@ in
texlive.combined.scheme-full
(aspellWithDicts (dict: [dict.de dict.en dict.en-computers]))
haskellPackages.pandoc-citeproc
text2pdf
nur.repos.kmein.text2pdf
libreoffice
pandoc
# proselint

View File

@@ -1,14 +0,0 @@
{ pkgs, lib, ... }:
let secrets = import <niveum/dot/secrets.nix>;
in {
environment.systemPackages = [ pkgs.python3Packages.sncli ];
home-manager.users.me = {
home.file.".snclirc".text = lib.generators.toINI {} {
sncli = {
cfg_sn_username = secrets.simplenote.username;
cfg_sn_password = secrets.simplenote.password;
};
};
};
}