wip
This commit is contained in:
parent
a9ff2c4855
commit
e03aa6c486
3 changed files with 29 additions and 7 deletions
|
|
@ -14,6 +14,9 @@
|
|||
laptop = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
{
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
}
|
||||
./hosts/laptop/configuration.nix
|
||||
./modules/common.nix
|
||||
./modules/users/alisceon.nix
|
||||
|
|
|
|||
|
|
@ -4,24 +4,44 @@
|
|||
imports =
|
||||
[ ./hardware-configuration.nix ];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
boot.initrd.luks.devices."luks-654125f4-7b26-408d-b1b5-d31648ec8770".device = "/dev/disk/by-uuid/654125f4-7b26-408d-b1b5-d31648ec8770";
|
||||
|
||||
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
networking.hostName = "electra";
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
time.timeZone = "UTC";
|
||||
time.timeZone = "Europe/Stockholm";
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
i18n.extraLocaleSettings = {
|
||||
LC_ADDRESS = "sv_SE.UTF-8";
|
||||
LC_IDENTIFICATION = "sv_SE.UTF-8";
|
||||
LC_MEASUREMENT = "sv_SE.UTF-8";
|
||||
LC_MONETARY = "sv_SE.UTF-8";
|
||||
LC_NAME = "sv_SE.UTF-8";
|
||||
LC_NUMERIC = "sv_SE.UTF-8";
|
||||
LC_PAPER = "sv_SE.UTF-8";
|
||||
LC_TELEPHONE = "sv_SE.UTF-8";
|
||||
LC_TIME = "sv_SE.UTF-8";
|
||||
};
|
||||
|
||||
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
displayManager.gdm.enable = true;
|
||||
desktopManager.gnome.enable = true;
|
||||
xkb.layout = "us";
|
||||
xkb.layout = "se";
|
||||
displayManager.gdm.wayland = true;
|
||||
};
|
||||
|
||||
console.keyMap = "sv-latin1";
|
||||
|
||||
services.printing.enable = true;
|
||||
sound.enable = true;
|
||||
hardware.pulseaudio.enable = false;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
|
|
@ -36,7 +56,6 @@
|
|||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "networkmanager" "podman" ];
|
||||
shell = pkgs.fish;
|
||||
hashedPassword = "!" ; # placeholder
|
||||
};
|
||||
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
|
|
@ -71,8 +90,6 @@
|
|||
defaultNetwork.settings.dns_enabled = true;
|
||||
};
|
||||
|
||||
services.tlp.enable = true;
|
||||
|
||||
programs.dconf.enable = true;
|
||||
|
||||
environment.shells = with pkgs; [ fish ];
|
||||
|
|
|
|||
|
|
@ -10,7 +10,9 @@
|
|||
programs.vscode.enable = true;
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
nativeMessagingHosts = true;
|
||||
nativeMessagingHosts = [
|
||||
pkgs.gnome-browser-connector
|
||||
];
|
||||
};
|
||||
|
||||
programs.obsidian.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue