This commit is contained in:
mtgmonkey
2025-12-28 21:14:36 +01:00
parent 800dec235d
commit f1dd42919e
5 changed files with 22 additions and 19 deletions

19
flake.lock generated
View File

@@ -129,11 +129,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1759362264, "lastModified": 1760948891,
"narHash": "sha256-wfG0S7pltlYyZTM+qqlhJ7GMw2fTF4mLKCIVhLii/4M=", "narHash": "sha256-TmWcdiUUaWk8J4lpjzu4gCGxWY6/Ok7mOK4fIFfBuU4=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "758cf7296bee11f1706a574c77d072b8a7baa881", "rev": "864599284fc7c0ba6357ed89ed5e2cd5040f0c04",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -337,11 +337,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1759386674, "lastModified": 1764081664,
"narHash": "sha256-wg1Lz/1FC5Q13R+mM5a2oTV9TA9L/CHHTm3/PiLayfA=", "narHash": "sha256-sUoHmPr/EwXzRMpv1u/kH+dXuvJEyyF2Q7muE+t0EU4=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "625ad6366178f03acd79f9e3822606dd7985b657", "rev": "dc205f7b4fdb04c8b7877b43edb7b73be7730081",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -422,15 +422,16 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1760153667, "lastModified": 1764172664,
"narHash": "sha256-F7KmXT/Izse6Q6CkD5GCImoGPaDJxl03Kd7eD+eY/bU=", "narHash": "sha256-j06Abkf2/5LtaoUS5XLiX3qDkoigwbt1MT4J8Lqpu2w=",
"owner": "notashelf", "owner": "notashelf",
"repo": "nvf", "repo": "nvf",
"rev": "9df9d51fd9fc8f9a8fc377f984ea3b7ae796172d", "rev": "353ade5acc809697febeef1caa2c2a597224cd62",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "notashelf", "owner": "notashelf",
"ref": "v0.8",
"repo": "nvf", "repo": "nvf",
"type": "github" "type": "github"
} }

View File

@@ -6,7 +6,7 @@
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nvf.url = "github:notashelf/nvf"; nvf.url = "github:notashelf/nvf/v0.8";
stylix.url = "github:danth/stylix"; stylix.url = "github:danth/stylix";
niri-flake.url = "github:sodiboo/niri-flake"; niri-flake.url = "github:sodiboo/niri-flake";
nur = { nur = {

View File

@@ -26,7 +26,6 @@ in {
# nixos/hm # nixos/hm
hm = lib.mkForce "home-manager"; hm = lib.mkForce "home-manager";
hm-check = lib.mkForce "nix check flake ${HOME}/dotfiles/.";
hm-switch = lib.mkForce "home-manager switch --flake ${HOME}/.dotfiles/. -f ${HOME}/.dotfiles/home.nix"; hm-switch = lib.mkForce "home-manager switch --flake ${HOME}/.dotfiles/. -f ${HOME}/.dotfiles/home.nix";
nix-check = lib.mkForce "nix check flake /etc/nixos/."; nix-check = lib.mkForce "nix check flake /etc/nixos/.";
nix-switch = lib.mkForce "nixos-rebuild switch --flake /etc/nixos/."; nix-switch = lib.mkForce "nixos-rebuild switch --flake /etc/nixos/.";
@@ -34,6 +33,7 @@ in {
bashrcExtra = '' bashrcExtra = ''
PS1="\u@\h:\w$ " PS1="\u@\h:\w$ "
eval "$(zoxide init bash)" eval "$(zoxide init bash)"
${lib.getExe pkgs.cowsay} 'jag Woerter'
''; '';
}; };
@@ -167,17 +167,11 @@ in {
} }
]; ];
languages = { languages = {
assembly.enable = true;
nix = { nix = {
enable = true; enable = true;
format.enable = true; format.enable = true;
lsp.enable = true; lsp.enable = true;
}; };
rust = {
enable = true;
format.enable = true;
lsp.enable = true;
};
haskell = { haskell = {
enable = true; enable = true;
lsp.enable = true; lsp.enable = true;
@@ -191,6 +185,7 @@ in {
smarttab = true; smarttab = true;
foldmethod = "indent"; foldmethod = "indent";
number = true; number = true;
colorcolumn = "80";
}; };
statusline.lualine.enable = true; statusline.lualine.enable = true;
syntaxHighlighting = true; syntaxHighlighting = true;
@@ -335,12 +330,13 @@ in {
pkgs.foot # terminal emulator pkgs.foot # terminal emulator
pkgs.st # terminal emulator pkgs.st # terminal emulator
pkgs.flameshot # screenshot
pkgs.grim # screenshot pkgs.grim # screenshot
pkgs.slurp # screen selection
pkgs.anki # anki pkgs.anki # anki
pkgs.element-desktop pkgs.element-desktop
pkgs.lagrange # gemini browser pkgs.lagrange # gemini browser
pkgs.prismlauncher
# alias # alias
pkgs.glow # see md files pkgs.glow # see md files

View File

@@ -17,6 +17,10 @@
name = "Miracode"; name = "Miracode";
}; };
serif = config.stylix.fonts.sansSerif; serif = config.stylix.fonts.sansSerif;
emoji = {
package = pkgs.noto-fonts-color-emoji;
name = "Noto Color Emoji";
};
sizes = { sizes = {
applications = 12; applications = 12;
terminal = 10; terminal = 10;

View File

@@ -5,6 +5,7 @@ set $up k
set $right l set $right l
set $term alacritty set $term alacritty
set $menu wmenu-run set $menu wmenu-run
set $screenshot grim -g "$(slurp)"
floating_modifier $mod normal floating_modifier $mod normal
workspace_layout stacking workspace_layout stacking
@@ -15,12 +16,13 @@ bindsym $mod+Shift+Return exec $term
bindsym $mod+Shift+d exec $menu bindsym $mod+Shift+d exec $menu
bindsym $mod+Shift+a exec anki bindsym $mod+Shift+a exec anki
bindsym $mod+Shift+q exec librewolf bindsym $mod+Shift+q exec librewolf
bindsym $mod+Shift+s exec $screenshot
bindsym $mod+Shift+c kill bindsym $mod+Shift+c kill
bindsym $mod+Shift+r reload bindsym $mod+Shift+r reload
bindsym $mod+Shift+Alt+q exec swaynag -t warning -m 'Exit sway?' -B 'Yes, exit sway' 'swaymsg exit' bindsym $mod+Shift+Alt+q exit
bindsym $mod+$left focus left bindsym $mod+$left focus left
bindsym $mod+$down focus down bindsym $mod+$down focus down