This commit is contained in:
Dmitriy Kholkin 2021-10-24 23:28:03 +03:00
parent 30298360a7
commit 28690f46ff
5 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
{ inputs, lib, ... }: { { inputs, lib, ... }: {
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
inputs.self.nixosRoles.desktop inputs.self.nixosRoles.server
]; ];
deviceSpecific.devInfo = { deviceSpecific.devInfo = {

View File

@ -11,7 +11,7 @@ in with config.deviceSpecific;
home-manager.users.alukard = { home-manager.users.alukard = {
programs.kitty = { programs.kitty = {
# enable = isLaptop || isDesktop; # enable = isLaptop || isDesktop;
enable = enable; enable = true;
font.name = "${thm.fonts.powerline.family} ${thm.fontSizes.small.str}"; font.name = "${thm.fonts.powerline.family} ${thm.fontSizes.small.str}";
# keybindings = '' # keybindings = ''
# ''; # '';

View File

@ -37,7 +37,7 @@ in {
}; };
config = mkMerge [ config = mkMerge [
(mkIf cfg.enable { (lib.mkIf cfg.enable {
systemd.user.services.spotifyd = { systemd.user.services.spotifyd = {
path = [ pkgs.zsh pkgs.pass-nodmenu ]; path = [ pkgs.zsh pkgs.pass-nodmenu ];
unitConfig = { unitConfig = {

View File

@ -11,9 +11,9 @@
LANG = lib.mkForce "en_GB.UTF-8"; LANG = lib.mkForce "en_GB.UTF-8";
}; };
time.timeZone = mkIf (!config.deviceSpecific.isCloud) "Europe/Moscow"; time.timeZone = lib.mkIf (!config.deviceSpecific.isCloud) "Europe/Moscow";
location = mkIf (!config.deviceSpecific.isCloud) { location = lib.mkIf (!config.deviceSpecific.isCloud) {
provider = "manual"; provider = "manual";
latitude = 48.78583; latitude = 48.78583;
longitude = 44.77973; longitude = 44.77973;

View File

@ -62,7 +62,7 @@
"ltree" = "exa -lhgFT@ --git"; "ltree" = "exa -lhgFT@ --git";
"atree" = "exa -aT"; "atree" = "exa -aT";
"latree" = "exa -lahgFT@ --git"; "latree" = "exa -lahgFT@ --git";
"gif2webm" = "'(){ ${pkgs.ffmpeg.bin}/bin/ffmpeg -i $1 -c:v libvpx-vp9 -crf 20 -b:v 0 $1.webm ;}'"; "gif2webm" = "(){ ${pkgs.ffmpeg.bin}/bin/ffmpeg -i $1 -c:v libvpx-vp9 -crf 20 -b:v 0 $1.webm ;}";
}; };
initExtra = '' initExtra = ''