master #1

Closed
brian wants to merge 0 commits from master into main
6 changed files with 23 additions and 13 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
secrets.nix

4
README.md Normal file
View File

@@ -0,0 +1,4 @@
# My Setup for NixOS
This repo is to server as a backup and version manager for my nixos build.
The current commit is the most up to date, working version.

View File

@@ -1,5 +1,10 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
@@ -78,7 +83,7 @@
# Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true;
# Define a user account. Don't forget to set a password with passwd.
# Define a user account. Don't forget to set a password with passwd.
users.users.brian = {
isNormalUser = true;
description = "Brian";
@@ -108,6 +113,8 @@
git
protonvpn-gui
vscodium
gitea
tea
];
# Some programs need SUID wrappers, can be configured further or are
@@ -131,10 +138,10 @@
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "25.05"; # Did you read the comment?
}
}

View File

@@ -18,6 +18,11 @@ let
device = "//10.0.0.65/wd4tb";
mountPoint = "/mnt/smb-wd4tb";
}
{
name = "stashapp";
device = "//10.0.0.65/stashapp";
mountPoint = "/mnt/smb-app";
}
];
networkFileSystems = builtins.listToAttrs (map (share: {
@@ -47,4 +52,3 @@ in
"L+ /home/${username}/${share.name} - - - - ${share.mountPoint}"
) networkShares;
}

View File

@@ -27,4 +27,4 @@
libva-utils
vaapiVdpau
];
}
}

View File

@@ -1,4 +1,4 @@
# Do not modify this file! It was generated by nixos-generate-config
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
@@ -14,16 +14,10 @@
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/9a663648-ed99-4810-a0a4-1b90d3b326b9";
{ device = "/dev/disk/by-uuid/1aa4a223-cd34-42c1-88d5-38d082cfed48";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/D21E-C36A";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking