Compare commits
No commits in common. "16921788ea60195c2e538ed72276f297705ea845" and "258fa7d80be4cf7e282a44da9ae68e3a6a9f49d0" have entirely different histories.
16921788ea
...
258fa7d80b
21
flake.lock
21
flake.lock
@ -7,27 +7,26 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1730837930,
|
||||
"narHash": "sha256-0kZL4m+bKBJUBQse0HanewWO0g8hDdCvBhudzxgehqc=",
|
||||
"lastModified": 1730016908,
|
||||
"narHash": "sha256-bFCxJco7d8IgmjfNExNz9knP8wvwbXU4s/d53KOK6U0=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "2f607e07f3ac7e53541120536708e824acccfaa8",
|
||||
"rev": "e83414058edd339148dc142a8437edb9450574c8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"ref": "master",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1730785428,
|
||||
"narHash": "sha256-Zwl8YgTVJTEum+L+0zVAWvXAGbWAuXHax3KzuejaDyo=",
|
||||
"lastModified": 1730200266,
|
||||
"narHash": "sha256-l253w0XMT8nWHGXuXqyiIC/bMvh1VRszGXgdpQlfhvU=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "4aa36568d413aca0ea84a1684d2d46f55dbabad7",
|
||||
"rev": "807e9154dcb16384b1b765ebe9cd2bba2ac287fd",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -52,11 +51,11 @@
|
||||
},
|
||||
"locked": {
|
||||
"dir": "packaging/nix",
|
||||
"lastModified": 1730836236,
|
||||
"narHash": "sha256-8jrg1DQrgYVaO4hpPRxRTAVluo8cE1Lcuvyv2EXuXpA=",
|
||||
"lastModified": 1730219667,
|
||||
"narHash": "sha256-vNvV7p4LTYfPUG46Dt8ubPVJid4l4gEQRqU/ZV/sQR0=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "90352466d502c40e147cfd11a428dde6c2899ab3",
|
||||
"revCount": 833,
|
||||
"rev": "10a406962c27a5a7cf05eab4ae19072cfaa4f165",
|
||||
"revCount": 829,
|
||||
"submodules": true,
|
||||
"type": "git",
|
||||
"url": "https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging/nix"
|
||||
|
@ -5,7 +5,7 @@
|
||||
# nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/master";
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
umu = {
|
||||
|
@ -22,21 +22,22 @@
|
||||
extraPackages = with pkgs; [
|
||||
# intel-media-driver
|
||||
# intel-vaapi-driver
|
||||
# libvdpau-va-gl
|
||||
];
|
||||
extraPackages32 = with pkgs.pkgsi686Linux; [
|
||||
# intel-media-driver
|
||||
# intel-vaapi-driver
|
||||
libvdpau-va-gl
|
||||
];
|
||||
# extraPackages32 = with pkgs.pkgsi686Linux; [
|
||||
# intel-media-driver
|
||||
# intel-vaapi-driver
|
||||
#];
|
||||
|
||||
};
|
||||
nvidia = {
|
||||
modesetting.enable = true;
|
||||
powerManagement.enable = false;
|
||||
powerManagement.finegrained = false;
|
||||
open = true;
|
||||
open = false;
|
||||
nvidiaSettings = true;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
||||
};
|
||||
pulseaudio.enable = true;
|
||||
};
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{ config, pkgs, inputs, ... }: {
|
||||
services.flatpak.enable = true;
|
||||
programs.nix-ld.enable = true;
|
||||
programs.nix-ld.libraries = [
|
||||
# put here missing libraries
|
||||
pkgs.glibc
|
||||
];
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
|
||||
@ -43,49 +38,9 @@
|
||||
vulkan-validation-layers
|
||||
vkdisplayinfo
|
||||
vkd3d
|
||||
bottles
|
||||
vkd3d-proton
|
||||
vk-bootstrap
|
||||
(lutris.override {
|
||||
steamSupport = true;
|
||||
extraLibraries = pkgs: [
|
||||
liboggz
|
||||
libgudev
|
||||
speex
|
||||
libogg
|
||||
flac
|
||||
graphene
|
||||
libvpx
|
||||
|
||||
];
|
||||
extraPkgs = pkgs: [
|
||||
libvpx
|
||||
libogg
|
||||
liboggz
|
||||
flac
|
||||
graphene
|
||||
gst_all_1.gstreamer
|
||||
# Common plugins like "filesrc" to combine within e.g. gst-launch
|
||||
gst_all_1.gst-plugins-base
|
||||
# Specialized plugins separated by quality
|
||||
gst_all_1.gst-plugins-good
|
||||
gst_all_1.gst-plugins-bad
|
||||
gst_all_1.gst-plugins-ugly
|
||||
# Plugins to reuse ffmpeg to play almost every video format
|
||||
gst_all_1.gst-libav
|
||||
# Support the Video Audio (Hardware) Acceleration API
|
||||
gst_all_1.gst-vaapi
|
||||
openssl
|
||||
nghttp2
|
||||
libidn2
|
||||
rtmpdump
|
||||
libpsl
|
||||
curl
|
||||
krb5
|
||||
keyutils
|
||||
# List library dependencies here
|
||||
];
|
||||
})
|
||||
lutris
|
||||
sipcalc
|
||||
xdg-utils
|
||||
pass
|
||||
|
@ -1,7 +1,6 @@
|
||||
{ config, pkgs, ... }: {
|
||||
|
||||
security.rtkit.enable = true;
|
||||
services.fwupd.enable = true;
|
||||
networking.firewall.enable = false;
|
||||
programs.dconf.enable = true;
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
@ -11,41 +10,41 @@
|
||||
'';
|
||||
security.polkit.enable = true;
|
||||
services = {
|
||||
# prometheus = {
|
||||
# scrapeConfigs = [
|
||||
# {
|
||||
# job_name = "chrysalis";
|
||||
# static_configs = [{
|
||||
# targets = [ "127.0.0.1:${toString config.services.prometheus.exporters.node.port}" ];
|
||||
# }];
|
||||
# }
|
||||
# ];
|
||||
#
|
||||
# exporters = {
|
||||
# node = {
|
||||
# enable = true;
|
||||
# enabledCollectors = [ "systemd" "processes" ];
|
||||
# port = 9002;
|
||||
# };
|
||||
# };
|
||||
#
|
||||
# enable = true;
|
||||
# port = 9001;
|
||||
# };
|
||||
#
|
||||
# grafana = {
|
||||
# enable = true;
|
||||
# settings = {
|
||||
# server = {
|
||||
# # Listening Address
|
||||
# http_addr = "127.0.0.1";
|
||||
# # and Port
|
||||
# http_port = 3000;
|
||||
# # Grafana needs to know on which domain and URL it's running
|
||||
# serve_from_sub_path = true;
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
prometheus = {
|
||||
scrapeConfigs = [
|
||||
{
|
||||
job_name = "chrysalis";
|
||||
static_configs = [{
|
||||
targets = [ "127.0.0.1:${toString config.services.prometheus.exporters.node.port}" ];
|
||||
}];
|
||||
}
|
||||
];
|
||||
|
||||
exporters = {
|
||||
node = {
|
||||
enable = true;
|
||||
enabledCollectors = [ "systemd" "processes" ];
|
||||
port = 9002;
|
||||
};
|
||||
};
|
||||
|
||||
enable = true;
|
||||
port = 9001;
|
||||
};
|
||||
|
||||
grafana = {
|
||||
enable = true;
|
||||
settings = {
|
||||
server = {
|
||||
# Listening Address
|
||||
http_addr = "127.0.0.1";
|
||||
# and Port
|
||||
http_port = 3000;
|
||||
# Grafana needs to know on which domain and URL it's running
|
||||
serve_from_sub_path = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
displayManager =
|
||||
{
|
||||
defaultSession = "none+i3";
|
||||
@ -108,12 +107,12 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
# services.pipewire = {
|
||||
# enable = true;
|
||||
# alsa.enable = true;
|
||||
# alsa.support32Bit = true;
|
||||
# pulse.enable = true;
|
||||
#};
|
||||
services.pcscd.enable = true;
|
||||
services.dbus.packages = [ pkgs.gcr ];
|
||||
services.openssh = {
|
||||
|
@ -38,13 +38,6 @@
|
||||
stateVersion = "23.11";
|
||||
};
|
||||
programs.home-manager.enable = true;
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
programs.firefox.enable = true;
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -4,6 +4,7 @@
|
||||
age
|
||||
discord
|
||||
jellyfin-media-player
|
||||
firefox-bin
|
||||
pdfpc
|
||||
terminator
|
||||
openssl
|
||||
@ -16,7 +17,6 @@
|
||||
lshw
|
||||
powershell
|
||||
vlc
|
||||
mosh
|
||||
expat
|
||||
xdeltaUnstable
|
||||
transmission_4-gtk
|
||||
@ -42,6 +42,8 @@
|
||||
mpv
|
||||
pamixer
|
||||
pinentry
|
||||
pulseaudio
|
||||
pulsemixer
|
||||
rbw
|
||||
restic
|
||||
ripgrep
|
||||
|
6
user/programs/firefox/default.nix
Normal file
6
user/programs/firefox/default.nix
Normal file
@ -0,0 +1,6 @@
|
||||
{ pkgs, config, lib, inputs, user, ... }: {
|
||||
options.firefox.enable = lib.mkEnableOption "Firefox";
|
||||
|
||||
config =
|
||||
lib.mkIf config.firefox.enable { programs.firefox = { enable = true; }; };
|
||||
}
|
@ -16,6 +16,8 @@ lsp_zero.format_on_save({
|
||||
servers = {
|
||||
['gopls'] = { 'go' },
|
||||
['nil_ls'] = { 'nix' },
|
||||
['lua_ls'] = { 'lua' },
|
||||
['tsserver'] = { 'typescript', 'javascript' },
|
||||
},
|
||||
})
|
||||
-- LSP: go
|
||||
@ -108,6 +110,16 @@ lspconfig.lua_ls.setup({
|
||||
})
|
||||
|
||||
-- LSP: ts/js
|
||||
lspconfig.tsserver.setup({
|
||||
init_options = {
|
||||
plugins = {
|
||||
},
|
||||
},
|
||||
filetypes = {
|
||||
"typescript",
|
||||
"javascript",
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
-- Telescope
|
||||
|
@ -2,7 +2,6 @@
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
enableUpdateCheck = true;
|
||||
package = pkgs.vscode.fhs;
|
||||
enableExtensionUpdateCheck = true;
|
||||
mutableExtensionsDir = true;
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
|
@ -13,9 +13,7 @@
|
||||
sudo rm /nix/var/nix/gcroots/auto/*
|
||||
sudo nix-collect-garbage -d
|
||||
'';
|
||||
nreb = "nix flake update --flake /home/mbeno/git/nixos && sudo nixos-rebuild switch --flake /home/mbeno/git/nixos && source ~/.zshrc";
|
||||
nbo = "nix flake update --flake /home/mbeno/git/nixos && sudo nixos-rebuild boot --flake /home/mbeno/git/nixos && reboot";
|
||||
ncom = "git -C /home/mbeno/git/nixos add --all && git -C /home/mbeno/git/nixos commit -m'lol'";
|
||||
nrebuild = "git -C /home/mbeno/git/nixos add --all && git -C /home/mbeno/git/nixos commit -m'lol' && nix flake update --flake /home/mbeno/git/nixos && sudo nixos-rebuild switch --flake /home/mbeno/git/nixos && source ~/.zshrc";
|
||||
nlog = ''
|
||||
revpath="/nix/var/nix/profiles";
|
||||
lastrev=$(ls -d1v $revpath/system-*-link|cut -d "-" -f2 | tail -n1);
|
||||
@ -57,9 +55,7 @@
|
||||
}
|
||||
];
|
||||
};
|
||||
history.size = 100000000;
|
||||
history.size = 1000000;
|
||||
history.path = "${config.xdg.dataHome}/zsh/history";
|
||||
history.share = true;
|
||||
historySubstringSearch.enable = true;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user