Update nixpkgs, home-manager, etc
This commit is contained in:
parent
c61a73db34
commit
f47fd37634
30
flake.lock
generated
30
flake.lock
generated
@ -70,11 +70,11 @@
|
|||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1605635123,
|
"lastModified": 1610405518,
|
||||||
"narHash": "sha256-8bROJh1fshk+TaFcIfU9enDcN6/1+uiOKgBgk6rSJMk=",
|
"narHash": "sha256-91braqJ1KpeKhVnwkPf8j9+o9UGCKrpQsUlhd/YNZIM=",
|
||||||
"owner": "rycee",
|
"owner": "rycee",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "7b6ebf2785cfc9dd6fc2b101cbbb2152eb68d45c",
|
"rev": "65d0e2d241519e010251aca29cf5d3a71fd84f2f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -88,11 +88,11 @@
|
|||||||
"nixpkgs": "nixpkgs_2"
|
"nixpkgs": "nixpkgs_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1604012111,
|
"lastModified": 1610470274,
|
||||||
"narHash": "sha256-B2b5mBDts5b0ROiT1fHGvDB1hVTDtw2RCR9trnr97qc=",
|
"narHash": "sha256-CtTfjqs5M9n2YWmuwsivaesz/JPSbflB30NiNWfFu6Q=",
|
||||||
"owner": "balsoft",
|
"owner": "balsoft",
|
||||||
"repo": "lambda-launcher",
|
"repo": "lambda-launcher",
|
||||||
"rev": "4fc0223c6540172dc11f687e14473f932b6e1d9f",
|
"rev": "3e553f0676a98f3fb00c626563ead378aed2b8ea",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -168,11 +168,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1606026386,
|
"lastModified": 1610452587,
|
||||||
"narHash": "sha256-ra8yZQsD8vBb+u35lGlA0KJyJfXxaZs6gjtKuS7qqkM=",
|
"narHash": "sha256-2WYSBb7NxNJ6YTTVB6B1WLn6J/S9zMX2A6cmD3U3/Ug=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "e286f0cf3bcffd5c0f006bb1831563d63b281fb2",
|
"rev": "5322c1f7d77a99b3f44130a029db42e40c22a399",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -246,11 +246,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_4": {
|
"nixpkgs_4": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1608755064,
|
"lastModified": 1610340740,
|
||||||
"narHash": "sha256-nx/o32ipf2YH8WTff7uYwWOwTI+Vtrr49mgxEPdK5bw=",
|
"narHash": "sha256-TT2r/p9c4BazAogXOUgY8SPPzn7JaktL8AmzVy60HZM=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "57a787c9fa91f149c86a1ce83d57e07cfa589e07",
|
"rev": "a67cfc0cdc10f218f2b9e0b153d1c31d5e96dded",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -331,11 +331,11 @@
|
|||||||
"nixpkgs": "nixpkgs_5"
|
"nixpkgs": "nixpkgs_5"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1608815402,
|
"lastModified": 1610453489,
|
||||||
"narHash": "sha256-oBgd7ZjGho0ivROpc9bIAqN+AbD70HBVWMz36LefK2E=",
|
"narHash": "sha256-zpg0CI2AtLlFlqxF351sp117zRlfmqDM7uz+0sTxm1I=",
|
||||||
"owner": "balsoft",
|
"owner": "balsoft",
|
||||||
"repo": "simple-osd-daemons",
|
"repo": "simple-osd-daemons",
|
||||||
"rev": "dd5883f58c7e49d2b00bd186dfb54afe0dc8fa8a",
|
"rev": "776d2ec91214e8b1d4a9f320c5c44e9f2110f05f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
wget
|
wget
|
||||||
curl
|
curl
|
||||||
unrar
|
unrar
|
||||||
|
neochat
|
||||||
] ++ lib.optionals config.deviceSpecific.goodMachine ([
|
] ++ lib.optionals config.deviceSpecific.goodMachine ([
|
||||||
steamcmd
|
steamcmd
|
||||||
steam
|
steam
|
||||||
@ -18,7 +19,6 @@
|
|||||||
spectral
|
spectral
|
||||||
# Audio/Video
|
# Audio/Video
|
||||||
vlc
|
vlc
|
||||||
cantata
|
|
||||||
lxqt.pavucontrol-qt
|
lxqt.pavucontrol-qt
|
||||||
# Tools
|
# Tools
|
||||||
zip
|
zip
|
||||||
@ -31,9 +31,7 @@
|
|||||||
gnumeric
|
gnumeric
|
||||||
gcalcli
|
gcalcli
|
||||||
breeze-icons
|
breeze-icons
|
||||||
kde-cli-tools
|
|
||||||
xdg_utils
|
xdg_utils
|
||||||
git-crypt
|
|
||||||
inputs.yt-utilities.defaultPackage.x86_64-linux
|
inputs.yt-utilities.defaultPackage.x86_64-linux
|
||||||
lambda-launcher
|
lambda-launcher
|
||||||
nix-patch
|
nix-patch
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
{ pkgs, config, lib, ... }:
|
|
||||||
with import ../../support.nix { inherit lib config; }; {
|
|
||||||
nixpkgs.overlays = [
|
|
||||||
(self: super: {
|
|
||||||
spectral = super.spectral.overrideAttrs (oldAttrs: {
|
|
||||||
prePatch = ''
|
|
||||||
sed -i \
|
|
||||||
-e s/#303030/${config.themes.colors.bg}/ \
|
|
||||||
-e s/#009DC2/${config.themes.colors.alt}/ \
|
|
||||||
-e s/#673AB7/${config.themes.colors.alt}/ \
|
|
||||||
-e s/#4285F4/${config.themes.colors.gray}/ \
|
|
||||||
-e s/#242424/${config.themes.colors.bg}/ \
|
|
||||||
-e 's/"#ff2b00", "#ff5500", "#ff8000", "#ffaa00", "#ffd500", "#ffff00", "#d4ff00", "#aaff00", "#80ff00", "#55ff00", "#2bff00", "#00ff00", "#00ff2b", "#00ff55", "#00ff80", "#00ffaa", "#00ffd5", "#00ffff", "#00d4ff", "#00aaff", "#007fff", "#0055ff", "#002bff", "#0000ff", "#2a00ff", "#5500ff", "#7f00ff", "#aa00ff", "#d400ff", "#ff00ff", "#ff00d4", "#ff00aa", "#ff0080", "#ff0055", "#ff002b", "#ff0000"/"${config.themes.colors.alt}"/' \
|
|
||||||
$(find . -name "*.qml")
|
|
||||||
'';
|
|
||||||
});
|
|
||||||
})
|
|
||||||
];
|
|
||||||
}
|
|
@ -9,7 +9,6 @@ device:
|
|||||||
./applications/okular.nix
|
./applications/okular.nix
|
||||||
./applications/yt-utilities.nix
|
./applications/yt-utilities.nix
|
||||||
./applications/firefox.nix
|
./applications/firefox.nix
|
||||||
./applications/spectral.nix
|
|
||||||
./workspace/sway
|
./workspace/sway
|
||||||
./workspace/i3blocks
|
./workspace/i3blocks
|
||||||
./workspace/zsh.nix
|
./workspace/zsh.nix
|
||||||
@ -22,7 +21,6 @@ device:
|
|||||||
./workspace/fonts.nix
|
./workspace/fonts.nix
|
||||||
./workspace/light.nix
|
./workspace/light.nix
|
||||||
./workspace/mako.nix
|
./workspace/mako.nix
|
||||||
./workspace/mopidy.nix
|
|
||||||
./workspace/xresources.nix
|
./workspace/xresources.nix
|
||||||
./themes.nix
|
./themes.nix
|
||||||
./applications.nix
|
./applications.nix
|
||||||
|
@ -24,15 +24,7 @@ in {
|
|||||||
|
|
||||||
# inherit (old) mautrix-telegram;
|
# inherit (old) mautrix-telegram;
|
||||||
|
|
||||||
lambda-launcher = let
|
lambda-launcher = inputs.lambda-launcher.defaultPackage.x86_64-linux;
|
||||||
pkgs' =
|
|
||||||
inputs.lambda-launcher.inputs.nixpkgs.legacyPackages.x86_64-linux.extend (_: _: {
|
|
||||||
inherit (pkgs) glibc stdenv glibc-locales;
|
|
||||||
});
|
|
||||||
in pkgs'.callPackage "${inputs.lambda-launcher}/wrapper.nix" {
|
|
||||||
lambda-launcher-unwrapped =
|
|
||||||
pkgs'.haskellPackages.callPackage "${inputs.lambda-launcher}/lambda-launcher.nix" { };
|
|
||||||
};
|
|
||||||
|
|
||||||
simple-osd = inputs.simple-osd-daemons.packages.x86_64-linux;
|
simple-osd = inputs.simple-osd-daemons.packages.x86_64-linux;
|
||||||
|
|
||||||
@ -50,7 +42,6 @@ in {
|
|||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
android_sdk.accept_license = true;
|
android_sdk.accept_license = true;
|
||||||
firefox.enablePlasmaBrowserIntegration = true;
|
|
||||||
};
|
};
|
||||||
environment.etc.nixpkgs.source = inputs.nixpkgs;
|
environment.etc.nixpkgs.source = inputs.nixpkgs;
|
||||||
nix = rec {
|
nix = rec {
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
client.enable = true;
|
client.enable = true;
|
||||||
torsocks.enable = true;
|
torsocks.enable = true;
|
||||||
client.socksListenAddressFaster = "127.0.0.1:9063";
|
settings.SOCKSPort = [ 9050 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.privoxy = {
|
services.privoxy = {
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
ACTION=="remove", ATTRS{idVendor}=="1050", RUN+="${pkgs.systemd}/bin/loginctl lock-sessions"
|
ACTION=="remove", ATTRS{idVendor}=="1050", RUN+="${pkgs.systemd}/bin/loginctl lock-sessions"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
services.mingetty.autologinUser = "balsoft";
|
services.getty.autologinUser = "balsoft";
|
||||||
|
|
||||||
environment.loginShellInit = ''
|
environment.loginShellInit = ''
|
||||||
[[ "$(tty)" == /dev/tty? ]] && sudo /run/current-system/sw/bin/lock this
|
[[ "$(tty)" == /dev/tty? ]] && sudo /run/current-system/sw/bin/lock this
|
||||||
|
@ -1,16 +1,18 @@
|
|||||||
{ pkgs, config, ...}:
|
{ pkgs, config, ... }: {
|
||||||
{
|
home-manager.users.balsoft = {
|
||||||
home-manager.users.balsoft.programs.mako = {
|
wayland.windowManager.sway.config.startup = [{ command = "mako"; }];
|
||||||
enable = true;
|
programs.mako = {
|
||||||
layer = "overlay";
|
enable = true;
|
||||||
font = "IBM Plex 13";
|
layer = "overlay";
|
||||||
width = 500;
|
font = "IBM Plex 13";
|
||||||
height = 80;
|
width = 500;
|
||||||
defaultTimeout = 10000;
|
height = 80;
|
||||||
maxVisible = 10;
|
defaultTimeout = 10000;
|
||||||
backgroundColor = config.themes.colors.bg;
|
maxVisible = 10;
|
||||||
textColor = config.themes.colors.fg;
|
backgroundColor = config.themes.colors.bg;
|
||||||
borderColor = config.themes.colors.blue;
|
textColor = config.themes.colors.fg;
|
||||||
progressColor = "over ${config.themes.colors.green}";
|
borderColor = config.themes.colors.blue;
|
||||||
|
progressColor = "over ${config.themes.colors.green}";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
programs.sway.enable = true;
|
programs.sway.enable = true;
|
||||||
users.users.balsoft.extraGroups = [ "sway" ];
|
users.users.balsoft.extraGroups = [ "sway" ];
|
||||||
systemd.coredump.enable = true;
|
systemd.coredump.enable = true;
|
||||||
programs.ssh.askPassword = "${pkgs.plasma5.ksshaskpass}/bin/ksshaskpass";
|
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
EDITOR = config.defaultApplications.editor.cmd;
|
EDITOR = config.defaultApplications.editor.cmd;
|
||||||
VISUAL = config.defaultApplications.editor.cmd;
|
VISUAL = config.defaultApplications.editor.cmd;
|
||||||
|
@ -1,21 +0,0 @@
|
|||||||
{ pkgs, config, lib, ... }:
|
|
||||||
{
|
|
||||||
services.mopidy = {
|
|
||||||
enable = true;
|
|
||||||
extensionPackages = with pkgs; [ mopidy-mpd mopidy-youtube ];
|
|
||||||
configuration = ''
|
|
||||||
[youtube]
|
|
||||||
enabled = true
|
|
||||||
[mpd]
|
|
||||||
hostname = 0.0.0.0
|
|
||||||
port = 6600
|
|
||||||
[audio]
|
|
||||||
output = pulsesink server=127.0.0.1
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
systemd.services.mopidy = {
|
|
||||||
after = [ "network-online.target" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
@ -26,7 +26,7 @@ in {
|
|||||||
{ app_id = "org.kde.trojita"; }
|
{ app_id = "org.kde.trojita"; }
|
||||||
{ title = ".*.Geary*"; }
|
{ title = ".*.Geary*"; }
|
||||||
{ title = "balsoft : weechat.*"; }
|
{ title = "balsoft : weechat.*"; }
|
||||||
{ title = "Spectral"; }
|
{ title = "Neochat"; }
|
||||||
{ title = "Slack"; }
|
{ title = "Slack"; }
|
||||||
];
|
];
|
||||||
"ﱘ" = [{ app_id = "cantata"; }];
|
"ﱘ" = [{ app_id = "cantata"; }];
|
||||||
@ -85,11 +85,9 @@ in {
|
|||||||
command =
|
command =
|
||||||
"${pkgs.mate.mate-polkit}/libexec/polkit-mate-authentication-agent-1";
|
"${pkgs.mate.mate-polkit}/libexec/polkit-mate-authentication-agent-1";
|
||||||
}
|
}
|
||||||
{ command = "${pkgs.spectral}/bin/spectral"; }
|
{ command = "${pkgs.neochat}/bin/neochat"; }
|
||||||
{ command = "${pkgs.xorg.xrdb}/bin/xrdb -merge ~/.Xresources"; }
|
{ command = "${pkgs.xorg.xrdb}/bin/xrdb -merge ~/.Xresources"; }
|
||||||
|
|
||||||
{ command = "${pkgs.cantata}/bin/cantata"; }
|
|
||||||
|
|
||||||
{
|
{
|
||||||
command =
|
command =
|
||||||
"swayidle -w before-sleep '${lock_fork}' lock '${lock_fork}' unlock 'pkill -9 swaylock'";
|
"swayidle -w before-sleep '${lock_fork}' lock '${lock_fork}' unlock 'pkill -9 swaylock'";
|
||||||
|
Loading…
Reference in New Issue
Block a user