Skip to content

Commit 51df916

Browse files
commit
1 parent cdb9692 commit 51df916

15 files changed

+882
-6
lines changed

desktop/l/home.nix

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -184,16 +184,16 @@
184184
# Filesystem/Monitoring
185185
inotify-tools
186186

187-
# SDR
188-
gnuradio
189-
hackrf
190-
gqrx
191-
cubicsdr
187+
# SDR #cmake errors
188+
# gnuradio
189+
# hackrf
190+
# gqrx
191+
# cubicsdr
192192

193193
# Media
194194
vlc
195195
# ffmpeg moved to system package
196-
ffmpeg_7-full
196+
ffmpeg_8-full
197197

198198
# Go Development
199199
# https://nixos.wiki/wiki/Go

super/a/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
all:
2+
scp 172.16.40.135:/etc/nixos/* ./

super/a/configuration.nix

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
# Edit this configuration file to define what should be installed on
2+
# your system. Help is available in the configuration.nix(5) man page
3+
# and in the NixOS manual (accessible by running ‘nixos-help’).
4+
5+
{ config, pkgs, ... }:
6+
7+
{
8+
imports =
9+
[ # Include the results of the hardware scan.
10+
./hardware-configuration.nix
11+
];
12+
13+
# Bootloader.
14+
boot.loader.systemd-boot.enable = true;
15+
boot.loader.efi.canTouchEfiVariables = true;
16+
17+
networking.hostName = "nodeA"; # Define your hostname.
18+
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
19+
20+
# Configure network proxy if necessary
21+
# networking.proxy.default = "http://user:password@proxy:port/";
22+
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
23+
24+
# Enable networking
25+
networking.networkmanager.enable = true;
26+
27+
# Set your time zone.
28+
time.timeZone = "America/Los_Angeles";
29+
30+
# Select internationalisation properties.
31+
i18n.defaultLocale = "en_US.UTF-8";
32+
33+
i18n.extraLocaleSettings = {
34+
LC_ADDRESS = "en_US.UTF-8";
35+
LC_IDENTIFICATION = "en_US.UTF-8";
36+
LC_MEASUREMENT = "en_US.UTF-8";
37+
LC_MONETARY = "en_US.UTF-8";
38+
LC_NAME = "en_US.UTF-8";
39+
LC_NUMERIC = "en_US.UTF-8";
40+
LC_PAPER = "en_US.UTF-8";
41+
LC_TELEPHONE = "en_US.UTF-8";
42+
LC_TIME = "en_US.UTF-8";
43+
};
44+
45+
# Define a user account. Don't forget to set a password with ‘passwd’.
46+
users.users.das = {
47+
isNormalUser = true;
48+
description = "das";
49+
extraGroups = [ "networkmanager" "wheel" ];
50+
packages = with pkgs; [];
51+
};
52+
53+
# Allow unfree packages
54+
nixpkgs.config.allowUnfree = true;
55+
56+
# List packages installed in system profile. To search, run:
57+
# $ nix search wget
58+
environment.systemPackages = with pkgs; [
59+
vim
60+
# wget
61+
];
62+
63+
# Some programs need SUID wrappers, can be configured further or are
64+
# started in user sessions.
65+
# programs.mtr.enable = true;
66+
# programs.gnupg.agent = {
67+
# enable = true;
68+
# enableSSHSupport = true;
69+
# };
70+
71+
# List services that you want to enable:
72+
73+
# Enable the OpenSSH daemon.
74+
services.openssh.enable = true;
75+
76+
# Open ports in the firewall.
77+
# networking.firewall.allowedTCPPorts = [ ... ];
78+
# networking.firewall.allowedUDPPorts = [ ... ];
79+
# Or disable the firewall altogether.
80+
networking.firewall.enable = false;
81+
82+
# This value determines the NixOS release from which the default
83+
# settings for stateful data, like file locations and database versions
84+
# on your system were taken. It‘s perfectly fine and recommended to leave
85+
# this value at the release version of the first install of this system.
86+
# Before changing this value read the documentation for this option
87+
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
88+
system.stateVersion = "25.05"; # Did you read the comment?
89+
90+
}

super/a/hardware-configuration.nix

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Do not modify this file! It was generated by ‘nixos-generate-config’
2+
# and may be overwritten by future invocations. Please make changes
3+
# to /etc/nixos/configuration.nix instead.
4+
{ config, lib, pkgs, modulesPath, ... }:
5+
6+
{
7+
imports =
8+
[ (modulesPath + "/installer/scan/not-detected.nix")
9+
];
10+
11+
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "ehci_pci" "megaraid_sas" "usb_storage" "usbhid" "sd_mod" ];
12+
boot.initrd.kernelModules = [ ];
13+
boot.kernelModules = [ "kvm-intel" ];
14+
boot.extraModulePackages = [ ];
15+
16+
fileSystems."/" =
17+
{ device = "/dev/disk/by-uuid/366626db-1e77-413c-a353-aa788bae570a";
18+
fsType = "ext4";
19+
};
20+
21+
fileSystems."/boot" =
22+
{ device = "/dev/disk/by-uuid/83C7-A8FA";
23+
fsType = "vfat";
24+
options = [ "fmask=0077" "dmask=0077" ];
25+
};
26+
27+
swapDevices =
28+
[ { device = "/dev/disk/by-uuid/6f7b0ac3-4f55-431c-adf3-39eeba6dd527"; }
29+
];
30+
31+
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
32+
# (the default) this is the recommended approach. When using systemd-networkd it's
33+
# still possible to use this option, but it's recommended to use it in conjunction
34+
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
35+
networking.useDHCP = lib.mkDefault true;
36+
# networking.interfaces.eno1.useDHCP = lib.mkDefault true;
37+
# networking.interfaces.eno2.useDHCP = lib.mkDefault true;
38+
39+
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
40+
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
41+
}

super/b/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
all:
2+
scp 172.16.40.97:/etc/nixos/* ./

super/b/configuration.nix

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
# Edit this configuration file to define what should be installed on
2+
# your system. Help is available in the configuration.nix(5) man page
3+
# and in the NixOS manual (accessible by running ‘nixos-help’).
4+
5+
{ config, pkgs, ... }:
6+
7+
{
8+
imports =
9+
[ # Include the results of the hardware scan.
10+
./hardware-configuration.nix
11+
];
12+
13+
# Bootloader.
14+
boot.loader.systemd-boot.enable = true;
15+
boot.loader.efi.canTouchEfiVariables = true;
16+
17+
networking.hostName = "nodeB"; # Define your hostname.
18+
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
19+
20+
# Configure network proxy if necessary
21+
# networking.proxy.default = "http://user:password@proxy:port/";
22+
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
23+
24+
# Enable networking
25+
networking.networkmanager.enable = true;
26+
27+
# Set your time zone.
28+
time.timeZone = "America/Los_Angeles";
29+
30+
# Select internationalisation properties.
31+
i18n.defaultLocale = "en_US.UTF-8";
32+
33+
i18n.extraLocaleSettings = {
34+
LC_ADDRESS = "en_US.UTF-8";
35+
LC_IDENTIFICATION = "en_US.UTF-8";
36+
LC_MEASUREMENT = "en_US.UTF-8";
37+
LC_MONETARY = "en_US.UTF-8";
38+
LC_NAME = "en_US.UTF-8";
39+
LC_NUMERIC = "en_US.UTF-8";
40+
LC_PAPER = "en_US.UTF-8";
41+
LC_TELEPHONE = "en_US.UTF-8";
42+
LC_TIME = "en_US.UTF-8";
43+
};
44+
45+
# Define a user account. Don't forget to set a password with ‘passwd’.
46+
users.users.das = {
47+
isNormalUser = true;
48+
description = "das";
49+
extraGroups = [ "networkmanager" "wheel" ];
50+
packages = with pkgs; [];
51+
};
52+
53+
# Allow unfree packages
54+
nixpkgs.config.allowUnfree = true;
55+
56+
# List packages installed in system profile. To search, run:
57+
# $ nix search wget
58+
environment.systemPackages = with pkgs; [
59+
vim
60+
# wget
61+
];
62+
63+
# Some programs need SUID wrappers, can be configured further or are
64+
# started in user sessions.
65+
# programs.mtr.enable = true;
66+
programs.gnupg.agent = {
67+
enable = true;
68+
enableSSHSupport = true;
69+
};
70+
71+
# List services that you want to enable:
72+
73+
# Enable the OpenSSH daemon.
74+
services.openssh.enable = true;
75+
76+
# Open ports in the firewall.
77+
# networking.firewall.allowedTCPPorts = [ ... ];
78+
# networking.firewall.allowedUDPPorts = [ ... ];
79+
# Or disable the firewall altogether.
80+
networking.firewall.enable = false;
81+
82+
# This value determines the NixOS release from which the default
83+
# settings for stateful data, like file locations and database versions
84+
# on your system were taken. It‘s perfectly fine and recommended to leave
85+
# this value at the release version of the first install of this system.
86+
# Before changing this value read the documentation for this option
87+
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
88+
system.stateVersion = "25.05"; # Did you read the comment?
89+
90+
}

super/b/hardware-configuration.nix

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Do not modify this file! It was generated by ‘nixos-generate-config’
2+
# and may be overwritten by future invocations. Please make changes
3+
# to /etc/nixos/configuration.nix instead.
4+
{ config, lib, pkgs, modulesPath, ... }:
5+
6+
{
7+
imports =
8+
[ (modulesPath + "/installer/scan/not-detected.nix")
9+
];
10+
11+
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "ehci_pci" "megaraid_sas" "nvme" "usb_storage" "usbhid" "sd_mod" ];
12+
boot.initrd.kernelModules = [ ];
13+
boot.kernelModules = [ "kvm-intel" ];
14+
boot.extraModulePackages = [ ];
15+
16+
fileSystems."/" =
17+
{ device = "/dev/disk/by-uuid/4d6b81d7-28cd-452c-a4ec-78128b36fb60";
18+
fsType = "ext4";
19+
};
20+
21+
fileSystems."/boot" =
22+
{ device = "/dev/disk/by-uuid/0787-337D";
23+
fsType = "vfat";
24+
options = [ "fmask=0077" "dmask=0077" ];
25+
};
26+
27+
swapDevices =
28+
[ { device = "/dev/disk/by-uuid/a729e9cb-d827-42da-b1a8-ac5bb4d0eac9"; }
29+
];
30+
31+
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
32+
# (the default) this is the recommended approach. When using systemd-networkd it's
33+
# still possible to use this option, but it's recommended to use it in conjunction
34+
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
35+
networking.useDHCP = lib.mkDefault true;
36+
# networking.interfaces.eno1.useDHCP = lib.mkDefault true;
37+
# networking.interfaces.eno2.useDHCP = lib.mkDefault true;
38+
39+
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
40+
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
41+
}

super/c/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
all:
2+
scp 172.16.40.151:/etc/nixos/* ./

super/c/configuration.nix

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
# Edit this configuration file to define what should be installed on
2+
# your system. Help is available in the configuration.nix(5) man page
3+
# and in the NixOS manual (accessible by running ‘nixos-help’).
4+
5+
{ config, pkgs, ... }:
6+
7+
{
8+
imports =
9+
[ # Include the results of the hardware scan.
10+
./hardware-configuration.nix
11+
];
12+
13+
# Bootloader.
14+
boot.loader.systemd-boot.enable = true;
15+
boot.loader.efi.canTouchEfiVariables = true;
16+
17+
networking.hostName = "nodeC";
18+
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
19+
20+
# Configure network proxy if necessary
21+
# networking.proxy.default = "http://user:password@proxy:port/";
22+
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
23+
24+
# Enable networking
25+
networking.networkmanager.enable = true;
26+
27+
# Set your time zone.
28+
time.timeZone = "America/Los_Angeles";
29+
30+
# Select internationalisation properties.
31+
i18n.defaultLocale = "en_US.UTF-8";
32+
33+
i18n.extraLocaleSettings = {
34+
LC_ADDRESS = "en_US.UTF-8";
35+
LC_IDENTIFICATION = "en_US.UTF-8";
36+
LC_MEASUREMENT = "en_US.UTF-8";
37+
LC_MONETARY = "en_US.UTF-8";
38+
LC_NAME = "en_US.UTF-8";
39+
LC_NUMERIC = "en_US.UTF-8";
40+
LC_PAPER = "en_US.UTF-8";
41+
LC_TELEPHONE = "en_US.UTF-8";
42+
LC_TIME = "en_US.UTF-8";
43+
};
44+
45+
# Define a user account. Don't forget to set a password with ‘passwd’.
46+
users.users.das = {
47+
isNormalUser = true;
48+
description = "das";
49+
extraGroups = [ "networkmanager" "wheel" ];
50+
packages = with pkgs; [];
51+
};
52+
53+
# Allow unfree packages
54+
nixpkgs.config.allowUnfree = true;
55+
56+
# List packages installed in system profile. To search, run:
57+
# $ nix search wget
58+
environment.systemPackages = with pkgs; [
59+
vim
60+
# wget
61+
];
62+
63+
# Some programs need SUID wrappers, can be configured further or are
64+
# started in user sessions.
65+
# programs.mtr.enable = true;
66+
programs.gnupg.agent = {
67+
enable = true;
68+
enableSSHSupport = true;
69+
};
70+
71+
# List services that you want to enable:
72+
73+
# Enable the OpenSSH daemon.
74+
services.openssh.enable = true;
75+
76+
# Open ports in the firewall.
77+
# networking.firewall.allowedTCPPorts = [ ... ];
78+
# networking.firewall.allowedUDPPorts = [ ... ];
79+
# Or disable the firewall altogether.
80+
networking.firewall.enable = false;
81+
82+
# This value determines the NixOS release from which the default
83+
# settings for stateful data, like file locations and database versions
84+
# on your system were taken. It‘s perfectly fine and recommended to leave
85+
# this value at the release version of the first install of this system.
86+
# Before changing this value read the documentation for this option
87+
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
88+
system.stateVersion = "25.05"; # Did you read the comment?
89+
90+
}

0 commit comments

Comments
 (0)