Added allowUnfree
This commit is contained in:
parent
2f4788c73c
commit
2e45d2d61f
|
@ -4,7 +4,7 @@
|
||||||
# manage.
|
# manage.
|
||||||
#
|
#
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
# nixpkgs.config.allowUnfree = true;
|
||||||
# inputs.nixpkgs-stable.config.allowUnfree = true;
|
# inputs.nixpkgs-stable.config.allowUnfree = true;
|
||||||
|
|
||||||
home.username = userName;
|
home.username = userName;
|
||||||
|
@ -27,6 +27,7 @@
|
||||||
htop
|
htop
|
||||||
kakoune
|
kakoune
|
||||||
keepassxc
|
keepassxc
|
||||||
|
libnotify
|
||||||
mako
|
mako
|
||||||
networkmanagerapplet
|
networkmanagerapplet
|
||||||
obs-studio
|
obs-studio
|
||||||
|
@ -68,6 +69,7 @@
|
||||||
# '';
|
# '';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
# Home Manager can also manage your environment variables through
|
# Home Manager can also manage your environment variables through
|
||||||
# 'home.sessionVariables'. If you don't want to manage your shell through Home
|
# 'home.sessionVariables'. If you don't want to manage your shell through Home
|
||||||
# Manager then you have to manually source 'hm-session-vars.sh' located at
|
# Manager then you have to manually source 'hm-session-vars.sh' located at
|
||||||
|
@ -94,6 +96,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
# kdeconnect setup
|
# kdeconnect setup
|
||||||
services.kdeconnect = {
|
services.kdeconnect = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -16,6 +16,8 @@
|
||||||
"nix-command" "flakes"
|
"nix-command" "flakes"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
@ -52,21 +54,13 @@
|
||||||
# Enable CUPS to print documents.
|
# Enable CUPS to print documents.
|
||||||
# services.printing.enable = true;
|
# services.printing.enable = true;
|
||||||
|
|
||||||
# Enable sound.
|
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
# hardware.pulseaudio.enable = true;
|
# hardware.pulseaudio.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;
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# enable polkit for sway in home-manager
|
||||||
# users.users.userName = {
|
|
||||||
# initialPassword = "password";
|
|
||||||
# extraGroups = [ "wheel" ];
|
|
||||||
# isNormalUser = true;
|
|
||||||
# };
|
|
||||||
|
|
||||||
# enable polkit for sway
|
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
|
|
||||||
hardware.opengl = {
|
hardware.opengl = {
|
||||||
|
@ -77,19 +71,15 @@
|
||||||
# Setup xdg portal for screen share
|
# Setup xdg portal for screen share
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
extraPortals = with pkgs; [
|
extraPortals = with pkgs; [
|
||||||
xdg-desktop-portal-wlr
|
# xdg-desktop-portal-wlr
|
||||||
xdg-desktop-portal-kde
|
# xdg-desktop-portal-kde
|
||||||
xdg-desktop-portal-gtk
|
xdg-desktop-portal-gtk
|
||||||
];
|
];
|
||||||
wlr.enable = true;
|
wlr.enable = true;
|
||||||
|
enable = true;
|
||||||
};
|
};
|
||||||
xdg.sounds.enable = true;
|
xdg.sounds.enable = true;
|
||||||
|
|
||||||
# Sets up programs in /etc/profile instead of ~/.profile
|
|
||||||
# home-manager.useUserPackages = true;
|
|
||||||
# Uses system nixpkgs instead of private, adds consistency and removes NIX_PATH dependency
|
|
||||||
# home-manager.useGlobalPkgs = true;
|
|
||||||
|
|
||||||
main_user = {
|
main_user = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = userName;
|
userName = userName;
|
||||||
|
@ -97,32 +87,33 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
|
|
||||||
# Corectrl from stable branch
|
# Corectrl from stable branch
|
||||||
# inputs.nixpkgs-stable.lib.nixosSystem.programs.corectrl.enable = true;
|
# inputs.nixpkgs-stable.lib.nixosSystem.programs.corectrl.enable = true;
|
||||||
|
|
||||||
# programs.corectrl.enable = true;
|
# programs.corectrl.enable = true;
|
||||||
|
|
||||||
# List packages installed in system profile. To search, run:
|
|
||||||
# $ nix search wget
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
git
|
git
|
||||||
|
glib # gsettings
|
||||||
|
grim
|
||||||
|
pavucontrol
|
||||||
|
slurp
|
||||||
|
swaylock
|
||||||
|
swayidle
|
||||||
wget
|
wget
|
||||||
|
wl-clipboard
|
||||||
|
xdg-utils
|
||||||
zsh
|
zsh
|
||||||
];
|
];
|
||||||
|
|
||||||
# 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;
|
|
||||||
# };
|
|
||||||
|
|
||||||
# Services
|
# Services
|
||||||
|
services.flatpak.enable = true;
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.dbus.enable = true;
|
services.dbus.enable = true;
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
alsa.enable = true;
|
||||||
|
pulse.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Firewall
|
# Firewall
|
||||||
|
@ -158,6 +149,5 @@
|
||||||
#
|
#
|
||||||
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
|
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
|
||||||
system.stateVersion = "23.11"; # Did you read the comment?
|
system.stateVersion = "23.11"; # Did you read the comment?
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user