mirror of
https://github.com/larstvei/nix-config.git
synced 2025-09-15 11:30:13 +00:00
Move some stuff around
This commit is contained in:
parent
351608385f
commit
726eace95c
@ -16,26 +16,14 @@
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
extraSpecialArgs = {
|
||||
inherit nanostatus;
|
||||
inherit emacs-larstvei;
|
||||
inherit zen-browser;
|
||||
};
|
||||
extraSpecialArgs = { inherit nanostatus emacs-larstvei zen-browser; };
|
||||
users.larstvei.imports = [
|
||||
../../modules/home
|
||||
../../modules/desktop
|
||||
];
|
||||
};
|
||||
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
default_session = {
|
||||
command = "hyprland";
|
||||
user = "larstvei";
|
||||
};
|
||||
};
|
||||
};
|
||||
networking.hostName = "larstvei-think";
|
||||
|
||||
users.users.larstvei = {
|
||||
isNormalUser = true;
|
||||
@ -48,39 +36,20 @@
|
||||
];
|
||||
};
|
||||
|
||||
networking.hostName = "larstvei-think";
|
||||
|
||||
console.keyMap = "us";
|
||||
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
settings.default_session = {
|
||||
command = "hyprland";
|
||||
user = "larstvei";
|
||||
};
|
||||
};
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
# Enable networking
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Oslo";
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
# Enable CUPS to print documents.
|
||||
services.printing.enable = true;
|
||||
|
||||
# Enable bluetooth.
|
||||
hardware.bluetooth.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;
|
||||
};
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||
|
@ -1,5 +1,11 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs.fish.enable = true;
|
||||
environment.shells = [ pkgs.fish ];
|
||||
|
||||
time.timeZone = "Europe/Oslo";
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
nix = {
|
||||
package = pkgs.nix;
|
||||
|
||||
|
@ -1,6 +1,4 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
|
||||
imports = [
|
||||
../fonts
|
||||
../homebrew
|
||||
@ -8,9 +6,6 @@
|
||||
|
||||
nix.linux-builder.enable = true;
|
||||
|
||||
programs.fish.enable = true;
|
||||
environment.shells = [ pkgs.fish ];
|
||||
|
||||
system = {
|
||||
stateVersion = 4;
|
||||
|
||||
|
@ -18,15 +18,6 @@ let
|
||||
};
|
||||
in
|
||||
{
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-hyprland
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
];
|
||||
config.hyprland."org.freedesktop.impl.portal.Settings" = "darkman";
|
||||
};
|
||||
|
||||
services.darkman = {
|
||||
enable = true;
|
||||
settings.portal = true;
|
||||
|
@ -16,9 +16,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
programs.fish.enable = true;
|
||||
environment.shells = [ pkgs.fish ];
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
programs._1password.enable = true;
|
||||
@ -30,4 +27,28 @@
|
||||
package = pkgs.hyprland;
|
||||
portalPackage = pkgs.xdg-desktop-portal-hyprland;
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-hyprland
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
];
|
||||
config.hyprland."org.freedesktop.impl.portal.Settings" = "darkman";
|
||||
};
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
hardware.bluetooth.enable = true;
|
||||
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;
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user