diff --git a/README_1.md b/README_1.md new file mode 100755 index 0000000..184b6a2 --- /dev/null +++ b/README_1.md @@ -0,0 +1,34 @@ +
+
+ +

+ +

+ +
+
+
+ +# Complete Configuration for Sovran_SystemsOS_Light and the Sovran Book Pro + +A Nix Flake Implementation + +Thanks to all the NixOS creators and developers for creating what is the future of computing. + +https://sovransystems.com + +Connect on Matrix here: https://matrix.to/#/#sovran-systems:anarchyislove.xyz + +Connect for Support on Matrix here: https://matrix.to/#/#sovran-systems-support:anarchyislove.xyz + +## License + +Sovran_SystemsOS is licensed under the Apache 2 software licence. + +## + +Created, Handcrafted, and Headquartered in the Midwest – 2022-2026. + +This Gitea is Proudly Powered by a Sovran Pro. + +All Is Love. Fear Is Illusion. All Beings Are Free. Truth Can Never Be Destroyed. diff --git a/configuration_1.nix b/configuration_1.nix new file mode 100755 index 0000000..bb070dd --- /dev/null +++ b/configuration_1.nix @@ -0,0 +1,153 @@ +{ config, pkgs, lib, ... }: + +{ + + imports = + + [ + ./modules/modules.nix + ]; + + # Bootloader. + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; + boot.kernelPackages = pkgs.linuxPackages_latest; + + services.fwupd.enable = true; + + nix.settings.experimental-features = [ "nix-command" "flakes" ]; + + networking.hostName = "nixos"; # Define your hostname. + # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. + + # Enable networking + networking.networkmanager.enable = true; + + # Select internationalisation properties. + i18n.defaultLocale = "en_US.UTF-8"; + + # Enable the X11 windowing system. + services.xserver.enable = true; + + # Enable the GNOME Desktop Environment. + services.displayManager.gdm.enable = true; + services.desktopManager.gnome.enable = true; + + # Configure keymap in X11 + services.xserver.xkb = { + layout = "us"; + variant = ""; + }; + + # Enable CUPS to print documents. + services.printing.enable = true; + + # Enable sound with pipewire. + services.pulseaudio.enable = false; + security.rtkit.enable = true; + services.pipewire = { + enable = true; + alsa.enable = true; + alsa.support32Bit = true; + pulse.enable = true; + }; + + users.users = { + free = { + isNormalUser = true; + description = "free"; + extraGroups = [ "networkmanager" "wheel"]; + }; + }; + + # Allow Flatpak + services.flatpak.enable = true; + + # Allow unfree packages + nixpkgs.config.allowUnfree = true; + + # List packages installed in system profile. To search, run: + # $ nix search wget + environment.systemPackages = with pkgs; [ + git + wget + librewolf + fish + htop + gnomeExtensions.dash-to-dock + gnomeExtensions.vitals + gnomeExtensions.pop-shell + gnomeExtensions.just-perfection + gnomeExtensions.date-menu-formatter + gnomeExtensions.transparent-top-bar-adjustable-transparency + gnome-tweaks + papirus-icon-theme + ranger + neofetch + gedit + openssl + pwgen + aspell + aspellDicts.en + lm_sensors + hunspell + hunspellDicts.en_US + gparted + pv + unzip + parted + screen + zenity + libargon2 + gnome-terminal + dig + ungoogled-chromium + tor-browser + element-desktop + libreoffice-fresh + firefox + brave + ]; + + services.tor = { + enable = true; + client.enable = true; + torsocks.enable = true; + }; + + services.privoxy.enableTor = true; + + services.mullvad-vpn = { + enable = true; + package = pkgs.mullvad-vpn; + }; + + programs.bash.promptInit = "fish"; + programs.fish = { + enable = true; + promptInit = "neofetch"; + }; + + services.openssh = { + enable = true; + settings = { + PasswordAuthentication = false; + KbdInteractiveAuthentication = false; + PermitRootLogin = "yes"; + }; + }; + + + networking.firewall.enable = true; + + + ####### AUTO COLLECT GARABAGE ####### + nix.gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 7d"; + }; + + system.stateVersion = "24.05"; + +} diff --git a/flake.lock b/flake.lock index b0f1f81..5923a0b 100755 --- a/flake.lock +++ b/flake.lock @@ -6,11 +6,11 @@ "oldNixpkgs": "oldNixpkgs" }, "locked": { - "lastModified": 1764000070, - "narHash": "sha256-Ge2xTUMTR3WSl3Y5aVXzoZGfmy5TcRjZYQSE6oEH12w=", + "lastModified": 1770217257, + "narHash": "sha256-nNZH1y3GR6EHzH6LEPqM7wpfLkHFdaSr6PLeGP1aWKs=", "owner": "emmanuelrosa", "repo": "btc-clients-nix", - "rev": "fb123d79187f6ade6e28b51829e0b46147fcf74e", + "rev": "d0f1acc4353cbd9683db144329bc340820bc9cb8", "type": "github" }, "original": { @@ -21,11 +21,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1761828793, - "narHash": "sha256-xjdPwMD4wVuDD85U+3KST62VzFkJueI6oBwIzpzUHLY=", + "lastModified": 1769914019, + "narHash": "sha256-w3TySosUsTuVdWAoHEVxvPIX42lCv/98Rmt5LRu3Bw8=", "owner": "nixos", "repo": "nixpkgs", - "rev": "843859a08e114403f44aaf5b996b44c38094aa46", + "rev": "17317ace7fb805f192bcf5595e41d18b09f9b497", "type": "github" }, "original": { @@ -36,11 +36,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1763835633, - "narHash": "sha256-HzxeGVID5MChuCPESuC0dlQL1/scDKu+MmzoVBJxulM=", + "lastModified": 1770197578, + "narHash": "sha256-AYqlWrX09+HvGs8zM6ebZ1pwUqjkfpnv8mewYwAo+iM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "050e09e091117c3d7328c7b2b7b577492c43c134", + "rev": "00c21e4c93d963c50d4c0c89bfa84ed6e0694df2", "type": "github" }, "original": { diff --git a/flake_1.lock b/flake_1.lock new file mode 100755 index 0000000..9a3e5a3 --- /dev/null +++ b/flake_1.lock @@ -0,0 +1,78 @@ +{ + "nodes": { + "btc-clients": { + "inputs": { + "nixpkgs": "nixpkgs", + "oldNixpkgs": "oldNixpkgs" + }, + "locked": { + "lastModified": 1766936379, + "narHash": "sha256-VBhwuhoz/byfK2OdYUKkzc1vTPqUddJaMr6elUOHeuM=", + "owner": "emmanuelrosa", + "repo": "btc-clients-nix", + "rev": "36cbe17a6160121bbae1ea7521593314d55e023c", + "type": "github" + }, + "original": { + "owner": "emmanuelrosa", + "repo": "btc-clients-nix", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1764255304, + "narHash": "sha256-oQPux8afXmkbb88ceRtz1lgSGqL9auOgdYnBSqpVgSA=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "6e86c955fc372d12face4a9c0d932a6e0f7bff4d", + "type": "github" + }, + "original": { + "owner": "nixos", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_2": { + "locked": { + "lastModified": 1767767207, + "narHash": "sha256-Mj3d3PfwltLmukFal5i3fFt27L6NiKXdBezC1EBuZs4=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "5912c1772a44e31bf1c63c0390b90501e5026886", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "oldNixpkgs": { + "locked": { + "lastModified": 1727619874, + "narHash": "sha256-a4Jcd+vjQAzF675/7B1LN3U2ay22jfDAVA8pOml5J/0=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "6710d0dd013f55809648dfb1265b8f85447d30a6", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "6710d0dd013f55809648dfb1265b8f85447d30a6", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "btc-clients": "btc-clients", + "nixpkgs": "nixpkgs_2" + } + } + }, + "root": "root", + "version": 7 +}