Compare commits
3 commits
1dfa9a7d2a
...
8a2100ace8
Author | SHA1 | Date | |
---|---|---|---|
8a2100ace8 | |||
703e7a90d5 | |||
d2871cb4c5 |
9 changed files with 92 additions and 20 deletions
78
flake.lock
78
flake.lock
|
@ -289,6 +289,24 @@
|
||||||
"rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a",
|
"rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-utils_6": {
|
||||||
|
"inputs": {
|
||||||
|
"systems": "systems_7"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1726560853,
|
||||||
|
"narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"ref": "main",
|
"ref": "main",
|
||||||
|
@ -653,6 +671,22 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_7": {
|
"nixpkgs_7": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1728492678,
|
||||||
|
"narHash": "sha256-9UTxR8eukdg+XZeHgxW5hQA9fIKHsKCdOIUycTryeVw=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "5633bcff0c6162b9e4b5f1264264611e950c8ec7",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_8": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731763621,
|
"lastModified": 1731763621,
|
||||||
"narHash": "sha256-ddcX4lQL0X05AYkrkV2LMFgGdRvgap7Ho8kgon3iWZk=",
|
"narHash": "sha256-ddcX4lQL0X05AYkrkV2LMFgGdRvgap7Ho8kgon3iWZk=",
|
||||||
|
@ -668,7 +702,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_8": {
|
"nixpkgs_9": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729755165,
|
"lastModified": 1729755165,
|
||||||
"narHash": "sha256-6IpnOHWsaSSjT3yvqlrWfHW6HVCT+wOAlUpcooGJ+FQ=",
|
"narHash": "sha256-6IpnOHWsaSSjT3yvqlrWfHW6HVCT+wOAlUpcooGJ+FQ=",
|
||||||
|
@ -723,6 +757,7 @@
|
||||||
"lix-module": "lix-module",
|
"lix-module": "lix-module",
|
||||||
"neovim-nightly": "neovim-nightly",
|
"neovim-nightly": "neovim-nightly",
|
||||||
"nixpkgs": "nixpkgs_6",
|
"nixpkgs": "nixpkgs_6",
|
||||||
|
"smc-fonts": "smc-fonts",
|
||||||
"sops-nix": "sops-nix",
|
"sops-nix": "sops-nix",
|
||||||
"wiki": "wiki"
|
"wiki": "wiki"
|
||||||
}
|
}
|
||||||
|
@ -748,9 +783,29 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"smc-fonts": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-utils": "flake-utils_5",
|
||||||
|
"nixpkgs": "nixpkgs_7"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1731189279,
|
||||||
|
"narHash": "sha256-+EMNlF+XC9rjqtiGfA+XIpqVJVUWlfFVd9vWojsRMrE=",
|
||||||
|
"owner": "smc",
|
||||||
|
"repo": "smc-fonts-flake",
|
||||||
|
"rev": "e87f739bb36425c224fde441bf81b2f0484e99ef",
|
||||||
|
"type": "gitlab"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "smc",
|
||||||
|
"ref": "trunk",
|
||||||
|
"repo": "smc-fonts-flake",
|
||||||
|
"type": "gitlab"
|
||||||
|
}
|
||||||
|
},
|
||||||
"sops-nix": {
|
"sops-nix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs_7"
|
"nixpkgs": "nixpkgs_8"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1732186149,
|
"lastModified": 1732186149,
|
||||||
|
@ -857,6 +912,21 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"systems_7": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1681028828,
|
||||||
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"utils": {
|
"utils": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"systems": "systems_3"
|
"systems": "systems_3"
|
||||||
|
@ -877,8 +947,8 @@
|
||||||
},
|
},
|
||||||
"wiki": {
|
"wiki": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils_5",
|
"flake-utils": "flake-utils_6",
|
||||||
"nixpkgs": "nixpkgs_8"
|
"nixpkgs": "nixpkgs_9"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729817327,
|
"lastModified": 1729817327,
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
caddy.url = "git+https://git.acomputer.lol/adtya/caddy-with-modules?ref=main";
|
caddy.url = "git+https://git.acomputer.lol/adtya/caddy-with-modules?ref=main";
|
||||||
adtyaxyz.url = "git+https://git.acomputer.lol/adtya/adtya.xyz?ref=main";
|
adtyaxyz.url = "git+https://git.acomputer.lol/adtya/adtya.xyz?ref=main";
|
||||||
wiki.url = "git+https://git.acomputer.lol/adtya/wiki?ref=main";
|
wiki.url = "git+https://git.acomputer.lol/adtya/wiki?ref=main";
|
||||||
|
smc-fonts.url = "gitlab:smc/smc-fonts-flake?ref=trunk";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
|
@ -49,6 +50,7 @@
|
||||||
, caddy
|
, caddy
|
||||||
, adtyaxyz
|
, adtyaxyz
|
||||||
, wiki
|
, wiki
|
||||||
|
, smc-fonts
|
||||||
,
|
,
|
||||||
} @ inputs:
|
} @ inputs:
|
||||||
let
|
let
|
||||||
|
|
|
@ -20,6 +20,7 @@ _: {
|
||||||
{ directory = ".config/nvim"; method = "symlink"; }
|
{ directory = ".config/nvim"; method = "symlink"; }
|
||||||
{ directory = ".config/Signal Beta"; method = "symlink"; }
|
{ directory = ".config/Signal Beta"; method = "symlink"; }
|
||||||
{ directory = ".config/spotify"; method = "symlink"; }
|
{ directory = ".config/spotify"; method = "symlink"; }
|
||||||
|
{ directory = ".config/supertuxkart"; method = "symlink"; }
|
||||||
{ directory = ".config/transmission-daemon"; method = "symlink"; }
|
{ directory = ".config/transmission-daemon"; method = "symlink"; }
|
||||||
{ directory = ".config/transmission-remote-gtk"; method = "symlink"; }
|
{ directory = ".config/transmission-remote-gtk"; method = "symlink"; }
|
||||||
{ directory = ".fly"; method = "symlink"; }
|
{ directory = ".fly"; method = "symlink"; }
|
||||||
|
@ -30,6 +31,7 @@ _: {
|
||||||
{ directory = ".local/share/lutris"; method = "symlink"; }
|
{ directory = ".local/share/lutris"; method = "symlink"; }
|
||||||
{ directory = ".local/share/nix"; method = "symlink"; }
|
{ directory = ".local/share/nix"; method = "symlink"; }
|
||||||
{ directory = ".local/share/nvim"; method = "symlink"; }
|
{ directory = ".local/share/nvim"; method = "symlink"; }
|
||||||
|
{ directory = ".local/share/supertuxkart"; method = "symlink"; }
|
||||||
{ directory = ".local/share/systemd"; method = "symlink"; }
|
{ directory = ".local/share/systemd"; method = "symlink"; }
|
||||||
{ directory = ".local/share/TelegramDesktop"; method = "symlink"; }
|
{ directory = ".local/share/TelegramDesktop"; method = "symlink"; }
|
||||||
{ directory = ".local/share/zoxide"; method = "symlink"; }
|
{ directory = ".local/share/zoxide"; method = "symlink"; }
|
||||||
|
|
|
@ -44,9 +44,11 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
fzf.enable = true;
|
fzf = {
|
||||||
|
enable = true;
|
||||||
|
enableZshIntegration = false;
|
||||||
|
};
|
||||||
lazygit.enable = true;
|
lazygit.enable = true;
|
||||||
nix-index.enable = true;
|
|
||||||
zoxide.enable = true;
|
zoxide.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
};
|
};
|
||||||
yazi = {
|
yazi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
enableZshIntegration = false;
|
||||||
settings = {
|
settings = {
|
||||||
manager = {
|
manager = {
|
||||||
sort_by = "natural";
|
sort_by = "natural";
|
||||||
|
|
|
@ -1,11 +1,4 @@
|
||||||
{ config
|
{ config, pkgs, lib, ... }: {
|
||||||
, pkgs
|
|
||||||
, ...
|
|
||||||
}:
|
|
||||||
let
|
|
||||||
gnome-keyring-daemon = "${pkgs.gnome-keyring}/bin/gnome-keyring-daemon";
|
|
||||||
in
|
|
||||||
{
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultKeymap = "viins";
|
defaultKeymap = "viins";
|
||||||
|
@ -15,13 +8,13 @@ in
|
||||||
history = {
|
history = {
|
||||||
expireDuplicatesFirst = true;
|
expireDuplicatesFirst = true;
|
||||||
extended = true;
|
extended = true;
|
||||||
|
ignoreDups = true;
|
||||||
|
ignoreSpace = true;
|
||||||
path = "${config.xdg.dataHome}/zsh/zsh_history";
|
path = "${config.xdg.dataHome}/zsh/zsh_history";
|
||||||
};
|
};
|
||||||
|
envExtra = lib.optionalString config.services.gnome-keyring.enable ''export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/keyring/ssh"'';
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
bindkey -v '^?' backward-delete-char
|
bindkey -v '^?' backward-delete-char
|
||||||
|
|
||||||
eval $(${gnome-keyring-daemon} -s -d 2> /dev/null)
|
|
||||||
export SSH_AUTH_SOCK
|
|
||||||
'';
|
'';
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
cat = "${pkgs.bat}/bin/bat";
|
cat = "${pkgs.bat}/bin/bat";
|
||||||
|
|
|
@ -24,6 +24,7 @@ in
|
||||||
{
|
{
|
||||||
programs.eww = {
|
programs.eww = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
enableZshIntegration = false;
|
||||||
configDir = pkgs.callPackage configDir { };
|
configDir = pkgs.callPackage configDir { };
|
||||||
};
|
};
|
||||||
systemd.user.services = {
|
systemd.user.services = {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }: {
|
{ inputs, pkgs, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
./boot
|
./boot
|
||||||
./hardware
|
./hardware
|
||||||
|
@ -17,14 +17,14 @@
|
||||||
NIXOS_OZONE_WL = 1;
|
NIXOS_OZONE_WL = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
fonts = {
|
fonts = let smc-fonts = inputs.smc-fonts.packages.${pkgs.system}.default; in {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
cantarell-fonts
|
cantarell-fonts
|
||||||
dejavu_fonts
|
dejavu_fonts
|
||||||
liberation_ttf
|
liberation_ttf
|
||||||
noto-fonts-cjk-sans
|
noto-fonts-cjk-sans
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
smc-chilanka
|
(smc-fonts.override { fonts = [ "chilanka" ]; })
|
||||||
(nerdfonts.override { fonts = [ "FiraCode" ]; })
|
(nerdfonts.override { fonts = [ "FiraCode" ]; })
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -5,6 +5,7 @@ _: {
|
||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
command-not-found.enable = false;
|
||||||
dconf.enable = true;
|
dconf.enable = true;
|
||||||
fuse.userAllowOther = true;
|
fuse.userAllowOther = true;
|
||||||
git.enable = true;
|
git.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue