Fix formatting
This commit is contained in:
+15
-9
@@ -1,15 +1,16 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
../modules/secrets
|
||||
];
|
||||
imports = [
|
||||
../modules/secrets
|
||||
];
|
||||
|
||||
boot.resumeDevice =
|
||||
if config.swapDevices != []
|
||||
then (builtins.head config.swapDevices).device
|
||||
else null;
|
||||
if config.swapDevices != [ ] then (builtins.head config.swapDevices).device else null;
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
@@ -44,7 +45,12 @@
|
||||
users.users.me = {
|
||||
isNormalUser = true;
|
||||
shell = pkgs.fish;
|
||||
extraGroups = [ "wheel" "video" "networkmanager" "input" ];
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"video"
|
||||
"networkmanager"
|
||||
"input"
|
||||
];
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMPFh01e9doyInt0980V8T4xaakcSaOyXaxxYE4+oSwM me@syedm # server"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJFUwk54CNtSLUyXSTLsIs5KXgEsjOgE4HGlA4FacKjV me@tardis # msi laptop"
|
||||
|
||||
+13
-10
@@ -1,14 +1,13 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
|
||||
../../modules/cloudflare-ddns
|
||||
../../modules/gitea
|
||||
../../modules/msjd
|
||||
];
|
||||
../../modules/cloudflare-ddns
|
||||
../../modules/gitea
|
||||
../../modules/msjd
|
||||
];
|
||||
|
||||
networking.hostName = "syedm";
|
||||
|
||||
@@ -37,8 +36,12 @@
|
||||
tempAddresses = "disabled";
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 22 80 443 ];
|
||||
allowedUDPPorts = [];
|
||||
allowedTCPPorts = [
|
||||
22
|
||||
80
|
||||
443
|
||||
];
|
||||
allowedUDPPorts = [ ];
|
||||
allowPing = true;
|
||||
};
|
||||
};
|
||||
|
||||
+31
-23
@@ -1,30 +1,38 @@
|
||||
{ config, lib, pkgs, inputs, ... }:
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports =
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
|
||||
../../modules/ollama
|
||||
../../modules/workstation/graphics.nix
|
||||
../../modules/workstation/audio.nix
|
||||
../../modules/workstation/xserver.nix
|
||||
../../modules/workstation/keyd.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = lib.mkAfter (
|
||||
with pkgs;
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
firefox
|
||||
xdg-utils
|
||||
dmenu
|
||||
pulseaudio
|
||||
brightnessctl
|
||||
maim
|
||||
xclip
|
||||
xsel
|
||||
prismlauncher
|
||||
spotify
|
||||
|
||||
../../modules/ollama
|
||||
../../modules/workstation/graphics.nix
|
||||
../../modules/workstation/audio.nix
|
||||
../../modules/workstation/xserver.nix
|
||||
../../modules/workstation/keyd.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = lib.mkAfter (with pkgs; [
|
||||
firefox
|
||||
xdg-utils
|
||||
dmenu
|
||||
pulseaudio
|
||||
brightnessctl
|
||||
maim
|
||||
xclip
|
||||
xsel
|
||||
prismlauncher
|
||||
|
||||
inputs.kutu.packages.${stdenv.hostPlatform.system}.default
|
||||
]);
|
||||
inputs.kutu.packages.${stdenv.hostPlatform.system}.default
|
||||
]
|
||||
);
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
nerd-fonts.hurmit
|
||||
|
||||
Reference in New Issue
Block a user