update
This commit is contained in:
18
flake.lock
generated
18
flake.lock
generated
@@ -7,11 +7,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729260213,
|
"lastModified": 1734093295,
|
||||||
"narHash": "sha256-jAvHoU/1y/yCuXzr2fNF+q6uKmr8Jj2xgAisK4QB9to=",
|
"narHash": "sha256-hSwgGpcZtdDsk1dnzA0xj5cNaHgN9A99hRF/mxMtwS4=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "09a0c0c02953318bf94425738c7061ffdc4cba75",
|
"rev": "66c5d8b62818ec4c1edb3e941f55ef78df8141a8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -23,11 +23,11 @@
|
|||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728729581,
|
"lastModified": 1733861262,
|
||||||
"narHash": "sha256-oazkQ/z7r43YkDLLQdMg8oIB3CwWNb+2ZrYOxtLEWTQ=",
|
"narHash": "sha256-+jjPup/ByS0LEVIrBbt7FnGugJgLeG9oc+ivFASYn2U=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "a8dd1b21995964b115b1e3ec639dd6ce24ab9806",
|
"rev": "cf737e2eba82b603f54f71b10cb8fd09d22ce3f5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -39,11 +39,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728888510,
|
"lastModified": 1733940404,
|
||||||
"narHash": "sha256-nsNdSldaAyu6PE3YUA+YQLqUDJh+gRbBooMMekZJwvI=",
|
"narHash": "sha256-Pj39hSoUA86ZePPF/UXiYHHM7hMIkios8TYG29kQT4g=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "a3c0b3b21515f74fd2665903d4ce6bc4dc81c77c",
|
"rev": "5d67ea6b4b63378b9c13be21e2ec9d1afc921713",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
networking.firewall.allowedTCPPorts = [ 3000 3001 ];
|
networking.firewall.allowedTCPPorts = [ 3000 3001 22 ];
|
||||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||||
# Or disable the firewall altogether.
|
# Or disable the firewall altogether.
|
||||||
# networking.firewall.enable = false;
|
# networking.firewall.enable = false;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
../../user/dev/tools/firefox-devedition.nix
|
../../user/dev/tools/firefox-devedition.nix
|
||||||
../../user/dev/tools/dbeaver-bin.nix
|
../../user/dev/tools/dbeaver-bin.nix
|
||||||
../../user/dev/tools/tldr.nix
|
../../user/dev/tools/tldr.nix
|
||||||
|
../../user/dev/tools/gh.nix
|
||||||
../../user/dev/editor/vscodium.nix
|
../../user/dev/editor/vscodium.nix
|
||||||
../../user/dev/editor/zed-editor.nix
|
../../user/dev/editor/zed-editor.nix
|
||||||
../../user/dev/lang/cc.nix
|
../../user/dev/lang/cc.nix
|
||||||
@@ -18,18 +19,20 @@
|
|||||||
../../user/dev/ide/qtcreator.nix
|
../../user/dev/ide/qtcreator.nix
|
||||||
../../user/apps/utils/alacritty.nix
|
../../user/apps/utils/alacritty.nix
|
||||||
../../user/apps/utils/keepassxc.nix
|
../../user/apps/utils/keepassxc.nix
|
||||||
../../user/apps/utils/cava.nix
|
#../../user/apps/utils/cava.nix
|
||||||
../../user/apps/utils/owncloud-client.nix
|
../../user/apps/utils/owncloud-client.nix
|
||||||
../../user/apps/utils/fzf.nix
|
../../user/apps/utils/fzf.nix
|
||||||
../../user/apps/utils/zoxide.nix
|
../../user/apps/utils/zoxide.nix
|
||||||
../../user/apps/media/vlc.nix
|
../../user/apps/media/vlc.nix
|
||||||
../../user/apps/media/mpv.nix
|
../../user/apps/media/mpv.nix
|
||||||
../../user/apps/media/yt-dlp.nix
|
../../user/apps/media/yt-dlp.nix
|
||||||
|
../../user/apps/media/kdenlive.nix
|
||||||
|
../../user/apps/media/obs-studio.nix
|
||||||
../../user/apps/graphics/gimp.nix
|
../../user/apps/graphics/gimp.nix
|
||||||
../../user/apps/graphics/inkscape.nix
|
../../user/apps/graphics/inkscape.nix
|
||||||
../../user/apps/games/mangohud.nix
|
../../user/apps/games/mangohud.nix
|
||||||
../../user/apps/games/minecraft.nix
|
|
||||||
../../user/apps/office/texlive.nix
|
../../user/apps/office/texlive.nix
|
||||||
|
#../../user/apps/office/libreoffice-fresh.nix
|
||||||
../../user/shell/bash.nix
|
../../user/shell/bash.nix
|
||||||
../../user/wm/xmonad/xmonad.nix
|
../../user/wm/xmonad/xmonad.nix
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
#hardware.pulseaudio.enable = true;
|
hardware.pulseaudio = {
|
||||||
|
support32Bit = true;
|
||||||
|
daemon.config = {
|
||||||
|
flat-volumes = "yes";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
|
|||||||
@@ -7,7 +7,10 @@
|
|||||||
fcitx5 = {
|
fcitx5 = {
|
||||||
waylandFrontend = true;
|
waylandFrontend = true;
|
||||||
plasma6Support = true;
|
plasma6Support = true;
|
||||||
addons = with pkgs; [ fcitx5-mozc fcitx5-skk ];
|
addons = with pkgs; [
|
||||||
|
#fcitx5-mozc
|
||||||
|
fcitx5-skk
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -16,5 +16,5 @@
|
|||||||
podman-compose
|
podman-compose
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.nvidia-container-toolkit.enable = lib.lists.elem "nvidia" config.services.xserver.videoDrivers;
|
hardware.nvidia-container-toolkit.enable = true;
|
||||||
}
|
}
|
||||||
|
|||||||
6
user/apps/media/kdenlive.nix
Normal file
6
user/apps/media/kdenlive.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
kdenlive
|
||||||
|
];
|
||||||
|
}
|
||||||
6
user/apps/media/obs-studio.nix
Normal file
6
user/apps/media/obs-studio.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ config, pkgs, libs, ... }:
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
obs-studio
|
||||||
|
];
|
||||||
|
}
|
||||||
6
user/apps/office/libreoffice-fresh.nix
Normal file
6
user/apps/office/libreoffice-fresh.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
libreoffice-fresh
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
nodejs_20
|
nodejs_22
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
6
user/dev/tools/gh.nix
Normal file
6
user/dev/tools/gh.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
gh
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -17,5 +17,9 @@ in
|
|||||||
l = lsCmd;
|
l = lsCmd;
|
||||||
ls = lsCmd;
|
ls = lsCmd;
|
||||||
};
|
};
|
||||||
|
bashrcExtra = ''
|
||||||
|
eval "$(fzf --bash)"
|
||||||
|
eval "$(zoxide init bash)"
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -64,10 +64,7 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
|
|||||||
[ ((modm .|. shiftMask, xK_Return), spawn $ XMonad.terminal conf)
|
[ ((modm .|. shiftMask, xK_Return), spawn $ XMonad.terminal conf)
|
||||||
|
|
||||||
-- launch dmenu
|
-- launch dmenu
|
||||||
, ((modm, xK_p ), spawn "dmenu_run")
|
, ((modm, xK_p ), spawn "rofi -show drun")
|
||||||
|
|
||||||
-- launch gmrun
|
|
||||||
, ((modm .|. shiftMask, xK_p ), spawn "gmrun")
|
|
||||||
|
|
||||||
-- close focused window
|
-- close focused window
|
||||||
, ((modm .|. shiftMask, xK_c ), kill)
|
, ((modm .|. shiftMask, xK_c ), kill)
|
||||||
|
|||||||
Reference in New Issue
Block a user