compatibility modifications for sephiroth
This commit is contained in:
@ -21,8 +21,6 @@
|
||||
then "/Users/${userName}"
|
||||
else "/home/${userName}";
|
||||
description = userName;
|
||||
group = "wyatt";
|
||||
isNormalUser = true;
|
||||
};
|
||||
users.groups.wyatt = {};
|
||||
|
||||
|
@ -1,9 +1,10 @@
|
||||
|
||||
{ pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
# enable flakes globally
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
@ -13,6 +14,7 @@
|
||||
# Use this instead of services.nix-daemon.enable if you
|
||||
# don't wan't the daemon service to be managed for you.
|
||||
# nix.useDaemon = true;
|
||||
services.nix-daemon.enable = true;
|
||||
|
||||
nix.package = pkgs.nix;
|
||||
|
||||
|
@ -4,10 +4,12 @@ These are where the machine specific configurations live.
|
||||
|
||||
I like Final Fantasy, alright? Isn't everyone supposed to have a hobby?
|
||||
|
||||
## Desktops, Laptops, and Workstations
|
||||
## Naming schemes
|
||||
|
||||
### Desktops, Laptops, and Workstations
|
||||
|
||||
These are named after Final Fantasy VII characters.
|
||||
|
||||
## Servers/Network Infrastructure
|
||||
### Servers/Network Infrastructure
|
||||
|
||||
These are named after Final Fantasy summons.
|
||||
|
@ -155,8 +155,8 @@
|
||||
|
||||
# Firewall stuff not allowed in common user and network creation
|
||||
networking.firewall.enable = true; # VERY important, do not touch
|
||||
# networking.firewall.allowedTCPPorts = [];
|
||||
# networking.firewall.allowedUDPPorts = [];
|
||||
networking.firewall.allowedTCPPorts = [];
|
||||
networking.firewall.allowedUDPPorts = [];
|
||||
networking.networkmanager.enable = true; # Linux tool for managing network connections
|
||||
|
||||
# Enable Flatpak (app containerization)
|
||||
@ -200,5 +200,10 @@
|
||||
arguments = "-v -o pw";
|
||||
};
|
||||
|
||||
users.users."${userName}" = {
|
||||
group = "${userName}";
|
||||
isNormalUser = true;
|
||||
};
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
@ -1,5 +1,4 @@
|
||||
{ pkgs, ... }: {
|
||||
|
||||
{pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
neovim
|
||||
git
|
||||
@ -19,7 +18,7 @@
|
||||
# Applications to install from Mac App Store using mas.
|
||||
# You need to install all these Apps manually first so that your apple account have records for them.
|
||||
# otherwise Apple Store will refuse to install them.
|
||||
# For details, see https://github.com/mas-cli/mas
|
||||
# For details, see https://github.com/mas-cli/mas
|
||||
masApps = {
|
||||
Xcode = 497799835;
|
||||
"Reeder 5." = 1529448980;
|
||||
|
@ -1,4 +1,8 @@
|
||||
{pkgs, hostname, ...}: {
|
||||
{
|
||||
pkgs,
|
||||
hostname,
|
||||
...
|
||||
}: {
|
||||
system = {
|
||||
# activationScripts are executed every time you boot the system or run `nixos-rebuild` / `darwin-rebuild`.
|
||||
activationScripts.postUserActivation.text = ''
|
||||
@ -145,12 +149,11 @@
|
||||
# };
|
||||
};
|
||||
|
||||
|
||||
networking.hostName = hostname;
|
||||
networking.computerName = hostname;
|
||||
networking.firewall.enable = true; # VERY important, do not touch
|
||||
networking.firewall.allowedTCPPorts = [];
|
||||
networking.firewall.allowedUDPPorts = [];
|
||||
# networking.firewall.enable = true; # VERY important, do not touch
|
||||
# networking.firewall.allowedTCPPorts = [];
|
||||
# networking.firewall.allowedUDPPorts = [];
|
||||
system.defaults.smb.NetBIOSName = hostname;
|
||||
|
||||
# Add ability to used TouchID for sudo authentication
|
||||
@ -165,6 +168,8 @@
|
||||
pkgs.bash
|
||||
];
|
||||
|
||||
system.stateVersion = 5;
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "America/Detroit";
|
||||
}
|
||||
|
Reference in New Issue
Block a user