mirror of
https://github.com/larstvei/nix-config.git
synced 2025-11-05 07:50:12 +00:00
Compare commits
No commits in common. "f71e57df5182087e8693aac1a56bb1540ecb50f7" and "483f5eadc14b67d29bf49e9bd3f2943e6a181c42" have entirely different histories.
f71e57df51
...
483f5eadc1
@ -1,3 +1,10 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
nanostatus,
|
||||||
|
emacs-larstvei,
|
||||||
|
zen-browser,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./keyboard
|
./keyboard
|
||||||
@ -6,11 +13,48 @@
|
|||||||
../../modules/nixos
|
../../modules/nixos
|
||||||
];
|
];
|
||||||
|
|
||||||
|
home-manager = {
|
||||||
|
useGlobalPkgs = true;
|
||||||
|
useUserPackages = true;
|
||||||
|
extraSpecialArgs = { inherit nanostatus emacs-larstvei zen-browser; };
|
||||||
|
users.larstvei.imports = [
|
||||||
|
../../modules/home
|
||||||
|
../../modules/desktop
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
networking.hostName = "larstvei-think";
|
networking.hostName = "larstvei-think";
|
||||||
|
|
||||||
|
users.users.larstvei = {
|
||||||
|
isNormalUser = true;
|
||||||
|
description = "Lars Tveito";
|
||||||
|
home = "/home/larstvei";
|
||||||
|
shell = pkgs.fish;
|
||||||
|
extraGroups = [
|
||||||
|
"networkmanager"
|
||||||
|
"wheel"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
console.keyMap = "us";
|
||||||
|
|
||||||
|
services.greetd = {
|
||||||
|
enable = true;
|
||||||
|
settings.default_session = {
|
||||||
|
command = "hyprland";
|
||||||
|
user = "larstvei";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
system.stateVersion = "25.05";
|
# 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
|
||||||
|
# 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 = "25.05"; # Did you read the comment?
|
||||||
}
|
}
|
||||||
|
|||||||
@ -9,8 +9,6 @@
|
|||||||
package = pkgs.nix;
|
package = pkgs.nix;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
auto-optimise-store = true;
|
|
||||||
|
|
||||||
experimental-features = [
|
experimental-features = [
|
||||||
"nix-command"
|
"nix-command"
|
||||||
"flakes"
|
"flakes"
|
||||||
|
|||||||
@ -6,5 +6,13 @@
|
|||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
|
# This value determines the Home Manager release that your
|
||||||
|
# configuration is compatible with. This helps avoid breakage
|
||||||
|
# when a new Home Manager release introduces backwards
|
||||||
|
# incompatible changes.
|
||||||
|
#
|
||||||
|
# You can update Home Manager without changing this value. See
|
||||||
|
# the Home Manager release notes for a list of state version
|
||||||
|
# changes in each release.
|
||||||
home.stateVersion = "24.11";
|
home.stateVersion = "24.11";
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,47 +1,10 @@
|
|||||||
{
|
{ pkgs, ... }:
|
||||||
pkgs,
|
|
||||||
nanostatus,
|
|
||||||
emacs-larstvei,
|
|
||||||
zen-browser,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
{
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
../fonts
|
../fonts
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager = {
|
|
||||||
useGlobalPkgs = true;
|
|
||||||
useUserPackages = true;
|
|
||||||
extraSpecialArgs = { inherit nanostatus emacs-larstvei zen-browser; };
|
|
||||||
users.larstvei.imports = [
|
|
||||||
../home
|
|
||||||
../desktop
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
users.users.larstvei = {
|
|
||||||
isNormalUser = true;
|
|
||||||
description = "Lars Tveito";
|
|
||||||
home = "/home/larstvei";
|
|
||||||
shell = pkgs.fish;
|
|
||||||
extraGroups = [
|
|
||||||
"networkmanager"
|
|
||||||
"wheel"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
console.keyMap = "us";
|
|
||||||
|
|
||||||
services.greetd = {
|
|
||||||
enable = true;
|
|
||||||
settings.default_session = {
|
|
||||||
command = "hyprland";
|
|
||||||
user = "larstvei";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
fonts = {
|
fonts = {
|
||||||
fontconfig = {
|
fontconfig = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user