last nixos

This commit is contained in:
supa
2026-08-14 01:01:55 -05:00
parent c5f997c4fe
commit d9214ffabd
4 changed files with 61 additions and 11 deletions
+4 -1
View File
@@ -6,7 +6,7 @@ esac
alias l='ls -a' alias l='ls -a'
alias vi='nvim'
function nixclean(){ function nixclean(){
@@ -39,3 +39,6 @@ function nrs(){
function tvn(){ function tvn(){
tv nix tv nix
} }
# Generated for envman. Do not edit.
[ -s "$HOME/.config/envman/load.sh" ] && source "$HOME/.config/envman/load.sh"
+16 -3
View File
@@ -14,16 +14,23 @@
}) ]; }) ];
nix.package = pkgs.lixPackageSets.stable.lix; nix.package = pkgs.lixPackageSets.stable.lix;
imports = imports =
[ [
./hardware-configuration.nix ./hardware-configuration.nix
./pkg.nix ./pkg.nix
./services.nix ./services.nix
]; ];
programs.nix-ld.libraries = with pkgs; [
fontconfig
wayland
libx11
libxcursor
libxext
libxi
];
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
networking.hostName = "f1ndm3"; networking.hostName = "f1ndm3";
@@ -34,7 +41,7 @@
users.users.supa = { users.users.supa = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; extraGroups = [ "wheel" "libvirtd" ];
}; };
users.defaultUserShell = pkgs.bash; users.defaultUserShell = pkgs.bash;
@@ -52,6 +59,12 @@
networking.firewall.allowedUDPPorts = [ ]; networking.firewall.allowedUDPPorts = [ ];
networking.firewall.enable = true; networking.firewall.enable = true;
# virtualisation
virtualisation.libvirtd.enable = true;
virtualisation.spiceUSBRedirection.enable = true;
# Copy the NixOS configuration file and link it from the resulting system # Copy the NixOS configuration file and link it from the resulting system
# (/run/current-system/configuration.nix). This is useful in case you # (/run/current-system/configuration.nix). This is useful in case you
# accidentally delete configuration.nix. # accidentally delete configuration.nix.
+36 -3
View File
@@ -35,6 +35,10 @@
tmux tmux
zip zip
fastfetch fastfetch
rar
winetricks
iftop
mise
# gui # gui
#kitty #kitty
@@ -43,7 +47,7 @@
firefox firefox
gimp gimp
vscodium.fhs vscodium.fhs
vesktop # vesktop
steam steam
heroic heroic
protonup-qt protonup-qt
@@ -53,14 +57,17 @@
xwininfo xwininfo
rewaita rewaita
rpi-imager rpi-imager
calibre
audacity
thunderbird
# lib # lib
icu
wmctrl wmctrl
git git
p7zip p7zip
unzip unzip
wine wineWow64Packages.stable
wine64Packages.waylandFull
jdk8 jdk8
jdk11 jdk11
jdk17 jdk17
@@ -78,6 +85,9 @@
ripgrep ripgrep
wl-clipboard wl-clipboard
linuxPackages.rtl8821ce linuxPackages.rtl8821ce
zig
zls
go
# misc # misc
gamemode gamemode
@@ -99,4 +109,27 @@
programs.neovim.enable = true; programs.neovim.enable = true;
programs.nix-ld.enable = true; programs.nix-ld.enable = true;
programs.virt-manager.enable = true;
programs.obs-studio = {
enable = true;
enableVirtualCamera = true;
# optional Nvidia hardware acceleration
package = (
pkgs.obs-studio.override {
cudaSupport = true;
}
);
plugins = with pkgs.obs-studio-plugins; [
wlrobs
obs-backgroundremoval
obs-pipewire-audio-capture
obs-vaapi #optional AMD hardware acceleration
obs-gstreamer
obs-vkcapture
];
};
} }
+3 -2
View File
@@ -22,13 +22,14 @@ require('pckr').add{
'https://github.com/neovim/nvim-lspconfig', 'https://github.com/neovim/nvim-lspconfig',
'neovim/nvim-lspconfig', 'neovim/nvim-lspconfig',
'nmac427/guess-indent.nvim', 'nmac427/guess-indent.nvim',
-- 'windwp/nvim-autopairs' 'windwp/nvim-autopairs'
} }
require('guess-indent').setup {} require('guess-indent').setup {}
--require('nvim-autopairs').setup {} require('nvim-autopairs').setup {}
vim.wo.number = true vim.wo.number = true
vim.lsp.enable('lua_ls','bashls','pylsp','nixd','markdown_oxide') vim.lsp.enable('lua_ls','bashls','pylsp','nixd','markdown_oxide')
vim.opt.clipboard:append('unnamedplus') vim.opt.clipboard:append('unnamedplus')