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

16
flake.lock generated
View File

@@ -228,11 +228,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1728041527, "lastModified": 1728337164,
"narHash": "sha256-03liqiJtk9UP7YQHW4r8MduKCK242FQzud8iWvvlK+o=", "narHash": "sha256-VdRTjJFyq4Q9U7Z/UoC2Q5jK8vSo6E86lHc2OanXtvc=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "509dbf8d45606b618e9ec3bbe4e936b7c5bc6c1e", "rev": "038630363e7de57c36c417fd2f5d7c14773403e4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -384,11 +384,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1728018373, "lastModified": 1728241625,
"narHash": "sha256-NOiTvBbRLIOe5F6RbHaAh6++BNjsb149fGZd1T4+KBg=", "narHash": "sha256-yumd4fBc/hi8a9QgA9IT8vlQuLZ2oqhkJXHPKxH/tRw=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "bc947f541ae55e999ffdb4013441347d83b00feb", "rev": "c31898adf5a8ed202ce5bea9f347b1c6871f32d1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -506,8 +506,8 @@
"pre-commit-hooks": "pre-commit-hooks" "pre-commit-hooks": "pre-commit-hooks"
}, },
"locked": { "locked": {
"lastModified": 1727909473, "lastModified": 1728284376,
"narHash": "sha256-Ns0pV0qxRmJ0TTcm+ozKKWqIDK3l8jrCqpM9d/FI5x8=", "narHash": "sha256-jByffzDhfj4YY+9l+K2Vz5aFkhVDuHsFth2W0dROtDI=",
"path": "/home/pagedmov/sysflakes/glasshouse-desktop/dotfiles/packages/nixvim", "path": "/home/pagedmov/sysflakes/glasshouse-desktop/dotfiles/packages/nixvim",
"type": "path" "type": "path"
}, },

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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