feat(wim): move hm settings in configuration.nix
This commit is contained in:
parent
c6e4093ecd
commit
68b1c3e9fa
2 changed files with 31 additions and 43 deletions
|
@ -1,6 +1,4 @@
|
||||||
{ lib, hyprland, pkgs, ... }:
|
{ hyprland, pkgs, ... }: {
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
||||||
|
@ -12,9 +10,36 @@
|
||||||
../../modules/sddm-wayland.nix
|
../../modules/sddm-wayland.nix
|
||||||
|
|
||||||
./modules/security.nix
|
./modules/security.nix
|
||||||
./home/main.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
users.users.matt = {
|
||||||
|
isNormalUser = true;
|
||||||
|
extraGroups = [ "wheel" "input" "uinput" "adm" "mlocate" "video" "libvirtd" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.dconf.enable = true;
|
||||||
|
|
||||||
|
# TODO: use hm for tmux
|
||||||
|
home-manager.users = {
|
||||||
|
matt = {
|
||||||
|
imports = [
|
||||||
|
./home/theme.nix
|
||||||
|
./home/hyprland.nix
|
||||||
|
./home/packages.nix
|
||||||
|
|
||||||
|
../../modules/alacritty.nix
|
||||||
|
../../modules/dconf.nix
|
||||||
|
../../modules/firefox
|
||||||
|
../../modules/wofi
|
||||||
|
|
||||||
|
./modules/dotfiles.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
# No touchy
|
||||||
|
home.stateVersion = "23.05";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "wim";
|
hostName = "wim";
|
||||||
networkmanager = {
|
networkmanager = {
|
||||||
|
@ -54,7 +79,6 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# List packages in root user PATH
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# for sddm
|
# for sddm
|
||||||
plasma5Packages.plasma-framework
|
plasma5Packages.plasma-framework
|
||||||
|
@ -71,11 +95,6 @@
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "America/Montreal";
|
time.timeZone = "America/Montreal";
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# No touchy
|
||||||
# settings for stateful data, like file locations and database versions
|
system.stateVersion = "23.05";
|
||||||
# on your system were taken. It's perfectly fine and recommended to leave
|
|
||||||
# this value at the release version of the first install of this system.
|
|
||||||
# Before changing this value read the documentation for this option
|
|
||||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
|
||||||
system.stateVersion = "23.05"; # Did you read the comment?
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,31 +0,0 @@
|
||||||
{ ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
# Define a user account. Don't forget to set a password with 'passwd'.
|
|
||||||
users.users.matt = {
|
|
||||||
isNormalUser = true;
|
|
||||||
extraGroups = [ "wheel" "input" "uinput" "adm" "mlocate" "video" "libvirtd" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.dconf.enable = true;
|
|
||||||
|
|
||||||
# TODO: use hm for tmux
|
|
||||||
home-manager.users = {
|
|
||||||
matt = {
|
|
||||||
|
|
||||||
imports = [
|
|
||||||
./theme.nix
|
|
||||||
./hyprland.nix
|
|
||||||
../modules/dotfiles.nix
|
|
||||||
./packages.nix
|
|
||||||
|
|
||||||
../../../modules/alacritty.nix
|
|
||||||
../../../modules/dconf.nix
|
|
||||||
../../../modules/firefox
|
|
||||||
../../../modules/wofi
|
|
||||||
];
|
|
||||||
|
|
||||||
home.stateVersion = "23.05";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in a new issue