tangled
alpha
login
or
join now
devins.page
/
flake
0
fork
atom
configurations for my servers and desktops
nix
nixos
flake
dots
dotfiles
0
fork
atom
overview
issues
pulls
pipelines
chore: remove devins-5495
devins.page
2 months ago
ba346902
291b49c2
-93
5 changed files
expand all
collapse all
unified
split
hosts
devins-5495
default.nix
hardware.nix
services
fwupd.nix
ssh.nix
tailscale.nix
-42
hosts/devins-5495/default.nix
···
1
1
-
{
2
2
-
config,
3
3
-
pkgs,
4
4
-
...
5
5
-
}: {
6
6
-
imports = [
7
7
-
./hardware.nix
8
8
-
./services/fwupd.nix
9
9
-
./services/ssh.nix
10
10
-
./services/tailscale.nix
11
11
-
];
12
12
-
13
13
-
boot.loader.systemd-boot.enable = true;
14
14
-
boot.loader.efi.canTouchEfiVariables = true;
15
15
-
16
16
-
networking.hostName = "devins-5495";
17
17
-
networking.networkmanager.enable = true;
18
18
-
19
19
-
services.displayManager.gdm.enable = true;
20
20
-
programs.niri.enable = true;
21
21
-
security.polkit.enable = true;
22
22
-
services.gnome.gnome-keyring.enable = true;
23
23
-
security.pam.services.swaylock = {};
24
24
-
programs.waybar.enable = true;
25
25
-
environment.sessionVariables.NIXOS_OZONE_WL = "1";
26
26
-
27
27
-
environment.systemPackages = with pkgs; [
28
28
-
firefox
29
29
-
(discord.override {
30
30
-
withOpenASAR = true;
31
31
-
withVencord = true;
32
32
-
})
33
33
-
prismlauncher
34
34
-
alacritty
35
35
-
fuzzel
36
36
-
swaylock
37
37
-
mako
38
38
-
swayidle
39
39
-
];
40
40
-
41
41
-
system.stateVersion = "25.11";
42
42
-
}
-35
hosts/devins-5495/hardware.nix
···
1
1
-
# Do not modify this file! It was generated by ‘nixos-generate-config’
2
2
-
# and may be overwritten by future invocations. Please make changes
3
3
-
# to /etc/nixos/configuration.nix instead.
4
4
-
{
5
5
-
config,
6
6
-
lib,
7
7
-
pkgs,
8
8
-
modulesPath,
9
9
-
...
10
10
-
}: {
11
11
-
imports = [
12
12
-
(modulesPath + "/installer/scan/not-detected.nix")
13
13
-
];
14
14
-
15
15
-
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "sd_mod" "rtsx_pci_sdmmc"];
16
16
-
boot.initrd.kernelModules = [];
17
17
-
boot.kernelModules = ["kvm-amd"];
18
18
-
boot.extraModulePackages = [];
19
19
-
20
20
-
fileSystems."/" = {
21
21
-
device = "/dev/disk/by-uuid/b8e42c06-fd74-480f-bf5e-f67c05383227";
22
22
-
fsType = "ext4";
23
23
-
};
24
24
-
25
25
-
fileSystems."/boot" = {
26
26
-
device = "/dev/disk/by-uuid/83CD-DDA0";
27
27
-
fsType = "vfat";
28
28
-
options = ["fmask=0077" "dmask=0077"];
29
29
-
};
30
30
-
31
31
-
swapDevices = [];
32
32
-
33
33
-
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
34
34
-
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
35
35
-
}
-3
hosts/devins-5495/services/fwupd.nix
···
1
1
-
{...}: {
2
2
-
services.fwupd.enable = true;
3
3
-
}
-10
hosts/devins-5495/services/ssh.nix
···
1
1
-
{...}: {
2
2
-
services = {
3
3
-
openssh = {
4
4
-
enable = true;
5
5
-
settings.PasswordAuthentication = false;
6
6
-
};
7
7
-
8
8
-
fail2ban.enable = true;
9
9
-
};
10
10
-
}
-3
hosts/devins-5495/services/tailscale.nix
···
1
1
-
{...}: {
2
2
-
services.tailscale.enable = true;
3
3
-
}