this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

crap

+171 -8
+131
nixos/configuration_os.nix
··· 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 + # Use latest kernel. 18 + boot.kernelPackages = pkgs.linuxPackages_latest; 19 + 20 + networking.hostName = "nixos"; # Define your hostname. 21 + # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. 22 + 23 + # Configure network proxy if necessary 24 + # networking.proxy.default = "http://user:password@proxy:port/"; 25 + # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; 26 + 27 + # Enable networking 28 + networking.networkmanager.enable = true; 29 + 30 + # Set your time zone. 31 + time.timeZone = "America/Toronto"; 32 + 33 + # Select internationalisation properties. 34 + i18n.defaultLocale = "en_CA.UTF-8"; 35 + 36 + # Enable the X11 windowing system. 37 + services.xserver.enable = true; 38 + 39 + # Enable the GNOME Desktop Environment. 40 + services.xserver.displayManager.gdm.enable = true; 41 + services.xserver.desktopManager.gnome.enable = true; 42 + 43 + # Configure keymap in X11 44 + services.xserver.xkb = { 45 + layout = "us"; 46 + variant = ""; 47 + }; 48 + 49 + # Enable CUPS to print documents. 50 + services.printing.enable = true; 51 + 52 + # Enable sound with pipewire. 53 + services.pulseaudio.enable = false; 54 + security.rtkit.enable = true; 55 + services.pipewire = { 56 + enable = true; 57 + alsa.enable = true; 58 + alsa.support32Bit = true; 59 + pulse.enable = true; 60 + # If you want to use JACK applications, uncomment this 61 + #jack.enable = true; 62 + 63 + # use the example session manager (no others are packaged yet so this is enabled by default, 64 + # no need to redefine it in your config for now) 65 + #media-session.enable = true; 66 + }; 67 + 68 + # Enable touchpad support (enabled default in most desktopManager). 69 + # services.xserver.libinput.enable = true; 70 + 71 + # Define a user account. Don't forget to set a password with ‘passwd’. 72 + users.users.mofin = { 73 + isNormalUser = true; 74 + description = "Cameron"; 75 + extraGroups = [ "networkmanager" "wheel" ]; 76 + packages = with pkgs; [ 77 + # thunderbird 78 + ]; 79 + }; 80 + nix.settings.experimental-features = [ "nix-command" "flakes" ]; 81 + 82 + # Enable automatic login for the user. 83 + services.displayManager.autoLogin.enable = true; 84 + services.displayManager.autoLogin.user = "mofin"; 85 + 86 + # Workaround for GNOME autologin: https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229 87 + systemd.services."getty@tty1".enable = false; 88 + systemd.services."autovt@tty1".enable = false; 89 + 90 + # Install firefox. 91 + programs.firefox.enable = true; 92 + 93 + # Allow unfree packages 94 + nixpkgs.config.allowUnfree = true; 95 + 96 + # List packages installed in system profile. To search, run: 97 + # $ nix search wget 98 + environment.systemPackages = with pkgs; [ 99 + # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. 100 + # wget 101 + git 102 + ]; 103 + 104 + # Some programs need SUID wrappers, can be configured further or are 105 + # started in user sessions. 106 + # programs.mtr.enable = true; 107 + # programs.gnupg.agent = { 108 + # enable = true; 109 + # enableSSHSupport = true; 110 + # }; 111 + 112 + # List services that you want to enable: 113 + 114 + # Enable the OpenSSH daemon. 115 + # services.openssh.enable = true; 116 + 117 + # Open ports in the firewall. 118 + # networking.firewall.allowedTCPPorts = [ ... ]; 119 + # networking.firewall.allowedUDPPorts = [ ... ]; 120 + # Or disable the firewall altogether. 121 + # networking.firewall.enable = false; 122 + 123 + # This value determines the NixOS release from which the default 124 + # settings for stateful data, like file locations and database versions 125 + # on your system were taken. It‘s perfectly fine and recommended to leave 126 + # this value at the release version of the first install of this system. 127 + # Before changing this value read the documentation for this option 128 + # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). 129 + system.stateVersion = "25.05"; # Did you read the comment? 130 + 131 + }
+27
nixos/flake.lock
··· 1 + { 2 + "nodes": { 3 + "nixpkgs": { 4 + "locked": { 5 + "lastModified": 1748190013, 6 + "narHash": "sha256-R5HJFflOfsP5FBtk+zE8FpL8uqE7n62jqOsADvVshhE=", 7 + "owner": "nixos", 8 + "repo": "nixpkgs", 9 + "rev": "62b852f6c6742134ade1abdd2a21685fd617a291", 10 + "type": "github" 11 + }, 12 + "original": { 13 + "owner": "nixos", 14 + "ref": "nixos-unstable", 15 + "repo": "nixpkgs", 16 + "type": "github" 17 + } 18 + }, 19 + "root": { 20 + "inputs": { 21 + "nixpkgs": "nixpkgs" 22 + } 23 + } 24 + }, 25 + "root": "root", 26 + "version": 7 27 + }
+11
nixos/flake.nix
··· 1 + { 2 + inputs = { 3 + nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; 4 + }; 5 + 6 + outputs = { self, nixpkgs }: { 7 + nixosConfigurations."nixos" = nixpkgs.lib.nixosSystem { 8 + modules = [ ./configuration_os.nix ]; 9 + }; 10 + }; 11 + }
+2 -8
nixos/nixos-configuration.nix
··· 20 20 boot.loader.grub.efiInstallAsRemovable = true; 21 21 boot.loader.grub.extraEntries = '' 22 22 23 - menuentry "Windows" { 24 - search --fs-uuid --no-floppy --set=root D6E4-28CA 25 - chainloader (''${root})/EFI/Microsoft/Boot/bootmgfw.efi 26 - } 27 - 28 - ''; 29 - 23 + 30 24 networking.hostName = "nixos"; # Define your hostname. 31 25 # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. 32 26 ··· 221 215 # Before changing this value read the documentation for this option 222 216 # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). 223 217 system.stateVersion = "24.05"; # Did you read the comment? 224 - } 218 + }