master #1
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
secrets.nix
|
||||||
4
README.md
Normal file
4
README.md
Normal 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.
|
||||||
@@ -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, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
@@ -78,7 +83,7 @@
|
|||||||
# Enable touchpad support (enabled default in most desktopManager).
|
# Enable touchpad support (enabled default in most desktopManager).
|
||||||
# services.xserver.libinput.enable = true;
|
# 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 = {
|
users.users.brian = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Brian";
|
description = "Brian";
|
||||||
@@ -108,6 +113,8 @@
|
|||||||
git
|
git
|
||||||
protonvpn-gui
|
protonvpn-gui
|
||||||
vscodium
|
vscodium
|
||||||
|
gitea
|
||||||
|
tea
|
||||||
];
|
];
|
||||||
|
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
# 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
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# 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. It‘s perfectly fine and recommended to leave
|
||||||
# this value at the release version of the first install of this system.
|
# this value at the release version of the first install of this system.
|
||||||
# Before changing this value read the documentation for this option
|
# Before changing this value read the documentation for this option
|
||||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||||
system.stateVersion = "25.05"; # Did you read the comment?
|
system.stateVersion = "25.05"; # Did you read the comment?
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,6 +18,11 @@ let
|
|||||||
device = "//10.0.0.65/wd4tb";
|
device = "//10.0.0.65/wd4tb";
|
||||||
mountPoint = "/mnt/smb-wd4tb";
|
mountPoint = "/mnt/smb-wd4tb";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "stashapp";
|
||||||
|
device = "//10.0.0.65/stashapp";
|
||||||
|
mountPoint = "/mnt/smb-app";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
networkFileSystems = builtins.listToAttrs (map (share: {
|
networkFileSystems = builtins.listToAttrs (map (share: {
|
||||||
@@ -47,4 +52,3 @@ in
|
|||||||
"L+ /home/${username}/${share.name} - - - - ${share.mountPoint}"
|
"L+ /home/${username}/${share.name} - - - - ${share.mountPoint}"
|
||||||
) networkShares;
|
) networkShares;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -27,4 +27,4 @@
|
|||||||
libva-utils
|
libva-utils
|
||||||
vaapiVdpau
|
vaapiVdpau
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
@@ -14,16 +14,10 @@
|
|||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/9a663648-ed99-4810-a0a4-1b90d3b326b9";
|
{ device = "/dev/disk/by-uuid/1aa4a223-cd34-42c1-88d5-38d082cfed48";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
|
||||||
{ device = "/dev/disk/by-uuid/D21E-C36A";
|
|
||||||
fsType = "vfat";
|
|
||||||
options = [ "fmask=0077" "dmask=0077" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
|
|||||||
Reference in New Issue
Block a user