Commit for generation 212

This commit is contained in:
2024-10-09 02:24:37 -04:00
parent 897785252a
commit 59989a3f7b
7 changed files with 44 additions and 23 deletions

View File

@@ -12,9 +12,9 @@
networking = {
networkmanager.enable = true; # Easiest to use and most distros use this by default.
hostName = "glasshouse";
hostName = "glasshaus";
hosts = {
"192.168.1.163" = [ "glasshaus" ];
"192.168.1.163" = [ "glasshaus.info" ];
};
firewall = {
enable = true;
@@ -30,9 +30,15 @@
];
};
environment.variables = {
XCURSOR_SIZE = "24";
PATH = "${pkgs.clang-tools}/bin:$PATH";
environment = {
variables = {
XCURSOR_SIZE = "24";
PATH = "${pkgs.clang-tools}/bin:$PATH";
};
shells = with pkgs; [
zsh
bash
];
};
@@ -46,23 +52,28 @@
# Enable sound.
#hardware.pulseaudio.enable = true;
# OR
services.pipewire = {
enable = true;
pulse.enable = true;
wireplumber.enable = true;
alsa.enable = true;
alsa.support32Bit = true;
};
services = {
pipewire = {
enable = true;
pulse.enable = true;
wireplumber.enable = true;
alsa.enable = true;
alsa.support32Bit = true;
};
udev.enable = true;
dbus.enable = true;
mullvad-vpn.enable = true;
};
hardware.keyboard.uhk.enable = true;
hardware.amdgpu.amdvlk.enable = true;
security.sudo.extraConfig = ''
pagedmov ALL=(ALL) NOPASSWD: /run/current-system/sw/bin/nixos-rebuild
'';
users.users.pagedmov = {
isNormalUser = true;
defaultUserShell = pkgs.zsh;
extraGroups = [ "wheel" ]; # Enable sudo for the user.
};
@@ -71,6 +82,10 @@ pagedmov ALL=(ALL) NOPASSWD: /run/current-system/sw/bin/nixos-rebuild
environment.systemPackages = with pkgs; [
parted
mullvad
fuse
wineWowPackages.full
vulkan-loader
mesa
vim
pass
gnumake

View File

@@ -5,6 +5,9 @@
diagnostics.signs = false;
extraConfigLua = ''
if vim.g.started_by_firenvim == true then
vim.o.laststatus = 0
end
if vim.g.neovide then
vim.g.neovide_refresh_rate = 144
vim.g.neovide_cursor_vfx_mode = "sonicboom"

View File

@@ -1,8 +1,8 @@
{
plugins.nvim-tree = {
enable = true;
hijackUnnamedBufferWhenOpening = true;
openOnSetup = true;
hijackUnnamedBufferWhenOpening = false;
openOnSetup = false;
onAttach = { __raw = ''
function(bufnr)
local api = require('nvim-tree.api')

View File

@@ -13,6 +13,7 @@
floaterm.enable = true;
fugitive.enable = true;
rustaceanvim.enable = true;
firenvim.enable = true;
dap = {
enable = true;
extensions.dap-ui.enable = true;

View File

@@ -12,6 +12,7 @@
enableNixpkgsReleaseCheck = false;
sessionVariables = {
GTK_THEME = "Adwaita:dark";
SHELL = "/etc/profiles/per-user/pagedmov/bin/zsh";
};
@@ -59,6 +60,7 @@
snes9x-gtk
rustup
libreoffice
handbrake
nvim
toilet
nix-autobahn

View File

@@ -213,7 +213,7 @@ nixswitch() {
gen=$(readlink /nix/var/nix/profiles/system | sed 's/.*system-\([0-9]*\)-link/\1/')
gen=$((gen + 1))
git diff --cached --quiet
git diff --quiet
if [ $? -eq 1 ]; then
git add .
git commit -m "Commit for generation $gen"