frija testing
This commit is contained in:
parent
ec5779e820
commit
813e34a49e
|
@ -0,0 +1,8 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
modules = [
|
||||||
|
hyprland.nixosModules.default
|
||||||
|
{programs.hyprland.enable = true;}
|
||||||
|
];
|
||||||
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
# Enable networking
|
||||||
|
networking.networkmanager.enable = true;
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||||
|
# wget
|
||||||
|
];
|
||||||
|
}
|
|
@ -1,6 +1,14 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
|
# started in user sessions.
|
||||||
|
# programs.mtr.enable = true;
|
||||||
|
# programs.gnupg.agent = {
|
||||||
|
# enable = true;
|
||||||
|
# enableSSHSupport = true;
|
||||||
|
# };
|
||||||
|
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
# services.openssh.enable = true;
|
# services.openssh.enable = true;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
}
|
}
|
|
@ -0,0 +1,13 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# Enable the X11 windowing system.
|
||||||
|
services.xserver.enable = true;
|
||||||
|
|
||||||
|
# Configure keymap in X11
|
||||||
|
services.xserver = {
|
||||||
|
layout = "us";
|
||||||
|
xkbVariant = "";
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
31
flake.nix
31
flake.nix
|
@ -35,14 +35,29 @@
|
||||||
frija = nixpkgs.lib.nixosSystem {
|
frija = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
#TODO see if I can move the imports section from configuration.nix successfully
|
./common/amd.nix
|
||||||
./common/amd.nix #comment out amd.nix in configuration file to start
|
./common/CUPS.nix
|
||||||
#./common/CUPS.nix
|
./common/gnome.nix
|
||||||
#./common/gnome.nix
|
./common/pipewire.nix
|
||||||
#./common/pipewire.nix
|
./common/time.nix
|
||||||
#./common/time.nix
|
#./common/docker.nix
|
||||||
#TODO change the configuration.nix to a default.nix file (see discourse bookmark)
|
./common/flakeinit.nix
|
||||||
./hosts/local/frija/configuration.nix
|
#./common/flatpak.nix
|
||||||
|
#./common/gaming.nix
|
||||||
|
#./common/hyperland.nix
|
||||||
|
#./common/insecure.nix
|
||||||
|
./common/networking.nix
|
||||||
|
#./common/waydroid.nix
|
||||||
|
./common/x11.nix
|
||||||
|
|
||||||
|
# Host Specific
|
||||||
|
./hosts/local/frija/default.nix
|
||||||
|
./hosts/local/frija/hardware-configuration.nix
|
||||||
|
./hosts/local/frija/packages.nix
|
||||||
|
./users/aspire/home-manager.nix
|
||||||
|
|
||||||
|
# User Specific
|
||||||
|
#./users/aspire/syncthing.nix
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
|
|
|
@ -7,17 +7,17 @@
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
#./hardware-configuration.nix
|
||||||
./packages.nix
|
#./packages.nix
|
||||||
#../../../common/amd.nix
|
#../../../common/amd.nix
|
||||||
#../../../common/docker.nix
|
#../../../common/docker.nix
|
||||||
../../../common/flakeinit.nix
|
#../../../common/flakeinit.nix
|
||||||
#../../../common/flatpak.nix
|
#../../../common/flatpak.nix
|
||||||
#../../../common/gaming.nix
|
#../../../common/gaming.nix
|
||||||
#../../../common/hyperland.nix
|
#../../../common/hyperland.nix
|
||||||
#../../../common/insecure.nix
|
#../../../common/insecure.nix
|
||||||
#../../../common/waydroid.nix
|
#../../../common/waydroid.nix
|
||||||
../../../users/aspire/home-manager.nix
|
#../../../users/aspire/home-manager.nix
|
||||||
#../../../users/aspire/syncthing.nix
|
#../../../users/aspire/syncthing.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -47,58 +47,58 @@
|
||||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||||
|
|
||||||
# Enable networking
|
# Enable networking
|
||||||
networking.networkmanager.enable = true;
|
#networking.networkmanager.enable = true;
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "America/Chicago";
|
#time.timeZone = "America/Chicago";
|
||||||
|
|
||||||
# Select internationalisation properties.
|
# Select internationalisation properties.
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
#i18n.defaultLocale = "en_US.UTF-8";
|
||||||
|
|
||||||
i18n.extraLocaleSettings = {
|
#i18n.extraLocaleSettings = {
|
||||||
LC_ADDRESS = "en_US.UTF-8";
|
#LC_ADDRESS = "en_US.UTF-8";
|
||||||
LC_IDENTIFICATION = "en_US.UTF-8";
|
#LC_IDENTIFICATION = "en_US.UTF-8";
|
||||||
LC_MEASUREMENT = "en_US.UTF-8";
|
#LC_MEASUREMENT = "en_US.UTF-8";
|
||||||
LC_MONETARY = "en_US.UTF-8";
|
#LC_MONETARY = "en_US.UTF-8";
|
||||||
LC_NAME = "en_US.UTF-8";
|
#LC_NAME = "en_US.UTF-8";
|
||||||
LC_NUMERIC = "en_US.UTF-8";
|
#LC_NUMERIC = "en_US.UTF-8";
|
||||||
LC_PAPER = "en_US.UTF-8";
|
#LC_PAPER = "en_US.UTF-8";
|
||||||
LC_TELEPHONE = "en_US.UTF-8";
|
#LC_TELEPHONE = "en_US.UTF-8";
|
||||||
LC_TIME = "en_US.UTF-8";
|
#LC_TIME = "en_US.UTF-8";
|
||||||
};
|
#};
|
||||||
|
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
services.xserver.enable = true;
|
#services.xserver.enable = true;
|
||||||
|
|
||||||
# Enable the GNOME Desktop Environment.
|
# Enable the GNOME Desktop Environment.
|
||||||
services.xserver.displayManager.gdm.enable = true;
|
#services.xserver.displayManager.gdm.enable = true;
|
||||||
services.xserver.desktopManager.gnome.enable = true;
|
#services.xserver.desktopManager.gnome.enable = true;
|
||||||
|
|
||||||
# Configure keymap in X11
|
# Configure keymap in X11
|
||||||
services.xserver = {
|
#services.xserver = {
|
||||||
layout = "us";
|
#layout = "us";
|
||||||
xkbVariant = "";
|
#xkbVariant = "";
|
||||||
};
|
#};
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
# Enable CUPS to print documents.
|
||||||
services.printing.enable = true;
|
#services.printing.enable = true;
|
||||||
|
|
||||||
# Enable sound with pipewire.
|
# Enable sound with pipewire.
|
||||||
sound.enable = true;
|
#sound.enable = true;
|
||||||
hardware.pulseaudio.enable = false;
|
#hardware.pulseaudio.enable = false;
|
||||||
security.rtkit.enable = true;
|
#security.rtkit.enable = true;
|
||||||
services.pipewire = {
|
#services.pipewire = {
|
||||||
enable = true;
|
#enable = true;
|
||||||
alsa.enable = true;
|
#alsa.enable = true;
|
||||||
alsa.support32Bit = true;
|
#alsa.support32Bit = true;
|
||||||
pulse.enable = true;
|
#pulse.enable = true;
|
||||||
# If you want to use JACK applications, uncomment this
|
# If you want to use JACK applications, uncomment this
|
||||||
#jack.enable = true;
|
#jack.enable = true;
|
||||||
|
|
||||||
# use the example session manager (no others are packaged yet so this is enabled by default,
|
# use the example session manager (no others are packaged yet so this is enabled by default,
|
||||||
# no need to redefine it in your config for now)
|
# no need to redefine it in your config for now)
|
||||||
#media-session.enable = true;
|
#media-session.enable = true;
|
||||||
};
|
#};
|
||||||
|
|
||||||
# Enable touchpad support (enabled default in most desktopManager).
|
# Enable touchpad support (enabled default in most desktopManager).
|
||||||
# services.xserver.libinput.enable = true;
|
# services.xserver.libinput.enable = true;
|
||||||
|
@ -108,10 +108,8 @@
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Aspire";
|
description = "Aspire";
|
||||||
extraGroups = [ "docker" "networkmanager" "wheel" ];
|
extraGroups = [ "docker" "networkmanager" "wheel" ];
|
||||||
packages = with pkgs; [
|
#packages = with pkgs; [
|
||||||
# firefox
|
# ];
|
||||||
# thunderbird
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable automatic login for the user.
|
# Enable automatic login for the user.
|
||||||
|
@ -123,14 +121,14 @@
|
||||||
systemd.services."autovt@tty1".enable = false;
|
systemd.services."autovt@tty1".enable = false;
|
||||||
|
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
#nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
environment.systemPackages = with pkgs; [
|
#environment.systemPackages = with pkgs; [
|
||||||
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||||
# wget
|
# wget
|
||||||
];
|
#];
|
||||||
|
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
# started in user sessions.
|
# started in user sessions.
|
|
@ -10,7 +10,9 @@
|
||||||
home-manager.users.aspire = { pkgs, ... }: {
|
home-manager.users.aspire = { pkgs, ... }: {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# Begin packages and options
|
# Begin packages and options
|
||||||
alacritty
|
alacritty
|
||||||
|
# Moved btop from hosts/local/frija/packages.nix to test, if successful, move other packages
|
||||||
|
btop
|
||||||
];
|
];
|
||||||
# Need to enable home.stateVersion for it to work correctly:
|
# Need to enable home.stateVersion for it to work correctly:
|
||||||
home.stateVersion = "22.11";
|
home.stateVersion = "22.11";
|
||||||
|
|
Loading…
Reference in New Issue